gchi not loading function from file
- by Delirium tremens
In test.hs, I have:
doubleMe x = x + x
In ghci, I type:
Prelude> :l test
[1 of 1] Compiling Main ( test.hs, interpreted )
Ok, modules loaded: Main.
*Main> doubleMe 9
<interactive>:1:0: Not in scope: `doubleMe'
*Main>
Why? How to fix?