From d82e9663a66eb1cc71a2b38a196b33c632fa10e9 Mon Sep 17 00:00:00 2001 From: mwm Date: Fri, 3 Apr 2015 12:48:22 -0500 Subject: [PATCH 1/3] Add instructions suitable for FreeBSD and similar. --- README.md | 21 +++++++++++++++------ 1 file changed, 15 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index eb96e13..8ea6f4b 100644 --- a/README.md +++ b/README.md @@ -206,12 +206,12 @@ echo $SHELL | xargs basename 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 -`happy`. - -```bash -$ cabal install alex happy -``` + Once you do all of that, you'll want to install the additional tools `alex` and + `happy`. + + ```bash + $ cabal install alex happy + ``` Congratulations! You now have a working Haskell installation! @@ -244,6 +244,15 @@ Download the latest binary distributions for cabal and ghc: - [Cabal](https://www.haskell.org/cabal/download.html). +## Users of other Unix-like Systmes + +Install GHC and Cabal from your package system. Then install the additional tools `alex` and `happy`. + + ```bash + $ cabal install alex happy + ``` + + # Primary Courses ## Yorgey's cis194 course From 24339fc528890bd3f36921d5f34f8acd7e370056 Mon Sep 17 00:00:00 2001 From: mwm Date: Sun, 12 Apr 2015 16:47:46 -0500 Subject: [PATCH 2/3] Add PATH and update instructions for Unix-like systems --- README.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 8ea6f4b..32ffdda 100644 --- a/README.md +++ b/README.md @@ -246,11 +246,13 @@ Download the latest binary distributions for cabal and ghc: ## Users of other Unix-like Systmes -Install GHC and Cabal from your package system. Then install the additional tools `alex` and `happy`. +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 install alex happy - ``` +$ cabal update +$ cabal install cabal-install alex happy +``` + # Primary Courses From df929dc28d0447b176c022ca0ebb2e4569a19606 Mon Sep 17 00:00:00 2001 From: mwm Date: Sun, 12 Apr 2015 20:12:17 -0500 Subject: [PATCH 3/3] Remove tabs from cut-n-paste error. --- README.md | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 32ffdda..82f40ec 100644 --- a/README.md +++ b/README.md @@ -206,12 +206,11 @@ echo $SHELL | xargs basename 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 - `happy`. +Once you do all of that, you'll want to install the additional tools `alex` and `happy`. - ```bash - $ cabal install alex happy - ``` +```bash +$ cabal install alex happy +``` Congratulations! You now have a working Haskell installation!