Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to start Yi-editor after I cabal install it?

I followed HaskellWiki, but I've still have no idea that how to start it.
I've tried:

yi
ghci yi
import Yi
main
like image 629
snow Avatar asked Dec 16 '11 09:12

snow


1 Answers

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.

like image 101
ehird Avatar answered Sep 28 '22 18:09

ehird