Skip to content

Instantly share code, notes, and snippets.

@ChristopherBiscardi
Created September 21, 2014 19:05
Show Gist options
  • Save ChristopherBiscardi/00ef2342253e97fae70a to your computer and use it in GitHub Desktop.
Save ChristopherBiscardi/00ef2342253e97fae70a to your computer and use it in GitHub Desktop.
Switching GHC Versions
ghc783(){
# Add GHC 7.8.3 to the PATH, via http://ghcformacosx.github.io/
export GHC_DOT_APP_7_8_3="/Applications/ghc-7.8.3.app"
if [ -d "$GHC_DOT_APP_7_8_3" ]; then
export PATH="${HOME}/.cabal/bin:${GHC_DOT_APP_7_8_3}/Contents/bin:${PATH}"
fi
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment