I am reading the book, Teach You, Haskell.
I am trying to define this simple function, but the compiler spits it out. This is probably something very simple and simple, but I'm a complete newbie to Haskell:
GHCi, version 7.6.3: http://www.haskell.org/ghc/ :? for help
Loading package ghc-prim ... linking ... done.
Loading package integer-gmp ... linking ... done.
Loading package base ... linking ... done.
Prelude> doubleMe x = x + x
<interactive>:2:12: parse error on input `='
Prelude>
source
share