j
k
j a
j l
You need to put "let" in front of any sort of definition in GHCI. let double x = x + x 2010/1/25 Joe Van Dyk :
Prelude> double x = x + x <interactive>:1:9: parse error on input `='
Back to the thread
Back to the list