Wednesday, 15 April 2015
Essentially there are two things needed:
cabal-installis completed successfully)
C:\Users\[YOUR USERNAME]\AppData\Roaming\cabal\binto PATH
Open a command prompt (cmd.exe) window or a Git Bash window and execute
where cabal, which should print the path where cabal executable resides:
In the same command prompt executing
ghci should launch GHCi (Haskell’s interactive environment):
GHCi, version 7.8.4: http://www.haskell.org/ghc/ :? for help Loading package ghc-prim ... linking ... done. Loading package integer-gmp ... linking ... done. Loading package base ... linking ... done. >
To get the
> character show up in the prompt, add the following to
:set prompt "> "
That’s it – Happy Haskell Programming!━━━
This post has been filed under #haskell
© 2011-2018 Nikos Baxevanis. All written content on this site is provided under a Creative Commons ShareAlike license. All code is provided under a MIT license unless otherwise stated.