Tim Watson watson.timothy at
Tue Mar 8 16:53:31 CET 2011

> 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.

More information about the Glasgow-haskell-users mailing list