3 ms·
I forgot to mention that even Haskell has had some strangeness in its pattern matching once, that it banned later, as recently as 2010. https://stackoverflow.c
by suprtx 1y ago
I forgot to mention that even Haskell has had some strangeness in its pattern matching once, that it banned later, as recently as 2010.
https://stackoverflow.com/questions/3748592/what-are-nk-patterns-and-why-are-they-banned-from-haskell-2010 https://stackoverflow.com/questions/3748592/what-are-nk-patt...
> What do they mean by "n+k patterns"? I guess it's the second line, but I don't get what might be wrong with it. Could anyone explain what is the issue there? Why aren't these n + k patterns allowed any more in Haskell 2010?