Merge pull request #64 from mwm/use-packages

Add instructions suitable for FreeBSD and similar.
This commit is contained in:
Chris Allen 2015-05-02 13:15:26 -05:00
commit e3af0f775d

View File

@ -204,8 +204,7 @@ echo $SHELL | xargs basename
I use zsh, so that command outputs `zsh` when I run it. I use zsh, so that command outputs `zsh` when I run it.
Once you do all of that, you'll want to install the additional tools `alex` and Once you do all of that, you'll want to install the additional tools `alex` and `happy`.
`happy`.
```bash ```bash
$ cabal install alex happy $ cabal install alex happy
@ -242,6 +241,17 @@ Download the latest binary distributions for cabal and ghc:
- [Cabal](https://www.haskell.org/cabal/download.html). - [Cabal](https://www.haskell.org/cabal/download.html).
## Users of other Unix-like Systmes
Install GHC and Cabal from your package system, then add `~/.cabal/bin` to your `$PATH`. Finally update `cabal` and install the additional tools `alex` and `happy`.
```bash
$ cabal update
$ cabal install cabal-install alex happy
```
# Primary Courses # Primary Courses
## Yorgey's cis194 course ## Yorgey's cis194 course