I have Haskell Platform 8.2.2 installed on Windows. When I run ghci
and type alex H.x
after Prelude>
, I get
<interactive>:3:6: error:
Not in scope: `H.x'
No module named `H' is imported.
When I type just alex
, I get
<interactive>:6:1: error:
* Variable not in scope: alex
* Perhaps you meant `lex' (imported from Prelude).
I looked in Haskell Platform\8.2.2\lib
and I can see a folder called Cabal-2.0.1.0
but nothing for alex
.
How do I get Alex installed?