mirror of
https://github.com/bitemyapp/learnhaskell.git
synced 2024-11-07 15:20:21 +00:00
Merge pull request #64 from mwm/use-packages
Add instructions suitable for FreeBSD and similar.
This commit is contained in:
commit
e3af0f775d
14
README.md
14
README.md
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user