
8 Mar
2011
8 Mar
'11
10:53 a.m.
fine. On the other hand, you cannot simply type it at the ghci prompt; you will get a parse error like the one you mentioned. ghci only allows you to enter expressions, not declarations.
Which in practise (for a total beginner not familiar with haskell) means typing `let doubleMe x = x + x` instead.