I'm trying to define any simple function that spans multiple lines in ghci, take the following as an example:
let abs n | n >= 0 = n
| otherwise = -n
So far I've tried pressing Enter after the first line:
Prelude> let …
I started with Haskell today and all the functions I perform on ghci display this message. I just want to know why this is happening.
I know there are a lot of questions about this, but this is a simple …