3 ms·
I did respect indentation, and here's what I get as an error: > tutorial.hs:21:23: Illegal type signature: `[Person] people' Perhaps you intended to
by chm 13y ago
I did respect indentation, and here's what I get as an error:
> tutorial.hs:21:23:
Illegal type signature: `[Person] people'
Perhaps you intended to use -XScopedTypeVariables
In a pattern type-signature
- paradoja 13y agoI guess you have a little error in your code. Maybe if you copied and pasted there was an error. For example, if you have let people :: [Person] people instead of let people :: [Person] people = -- ... that would give you that error.
- lelf 13y agoYou copy-pasted it without a newline. This is how it should look http://lpaste.net/90921 http://lpaste.net/90921