Improve haskell topic

This commit is contained in:
Henrik Lissner 2017-05-25 11:44:47 +02:00
parent 0d9ebdb8b0
commit 23966f151e
2 changed files with 6 additions and 2 deletions

1
dev/+haskell/env.zsh Normal file
View file

@ -0,0 +1 @@
path=(~/.cabal/bin $path)

View file

@ -2,11 +2,14 @@
case $OSTYPE in case $OSTYPE in
darwin*) darwin*)
brew install ghc cabal-install brew install cabal-install ghc
;; ;;
linux*) linux*)
if [[ -f /etc/arch-release ]]; then if [[ -f /etc/arch-release ]]; then
sudo pacman --needed --noconfirm -S ghc cabal-install sudo pacman --needed --noconfirm -S cabal-install ghc
fi fi
;; ;;
esac esac
cabal update
cabal install happy haskell-src-exts