I'm on my Mac trying out Haskell and to my surprise, when I defined a function, I got an error:
Prelude System.IO> :set prompt "ghci> "
ghci> addMe :: Int -> Int -> Int
<interactive>:11:1: error:
Variable not in scope: addMe :: Int -> Int -> Int
ghci>
How can I define functions on the ghci?