ghc - Haskell and Cabal missing after El Capitan update -


following upgrade os x el capitan, cabal , ghc no longer found on system:

-bash: ghc: command not found -bash: cabal: command not found 

what need cabal , ghc working on os x el capitan?

i've found following approach reliable on versions of osx including el capitan.

  1. install homebrew

  2. run brew install ghc

  3. run brew install cabal-install

this approach allows install latest versions , have multiple versions installed , switch between them using brew switch command. haskell platform lacks these properties, why advanced users tend avoid way.


Comments

Popular posts from this blog

1111. appearing after print sequence - php -

excel - I can't get the attachement of the email PHP -

node.js - Express and Redis - If session exists for this user, don't allow access -