I followed HaskellWiki, but I've still have no idea that how to start it.
I've tried:
yi
ghci yi
import Yi
main
You might need to add $HOME/.cabal/bin
to your PATH
variable:
export PATH="$HOME/.cabal/bin:$PATH"
If yi
still fails after that (or with an explicit invocation like ~/.cabal/bin/yi
), then it either failed to install, or should at least print out a relevant error message which could help further.
Note that, to my understanding, Yi's development since 2009 or so has been sporadic; you might want to consider Emacs with haskell-mode or another editor if you're not just trying Yi out of curiosity.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With