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 -

java - WARN : org.springframework.web.servlet.PageNotFound - No mapping found for HTTP request with URI [/board/] in DispatcherServlet with name 'appServlet' -

Ruby on Rails, ActiveRecord, Postgres, UTF-8 and ASCII-8BIT encodings -