4 ms·
Did you respect indentation? Tutorial is really failing here with this “just paste this to the bottom”.
by lelf 13y ago
Did you respect indentation?
Tutorial is really failing here with this “just paste this to the bottom”.
- chm 13y agoI 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