Improve haskell topic
This commit is contained in:
parent
0d9ebdb8b0
commit
23966f151e
1
dev/+haskell/env.zsh
Normal file
1
dev/+haskell/env.zsh
Normal file
|
@ -0,0 +1 @@
|
||||||
|
path=(~/.cabal/bin $path)
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue