diff --git a/docs/install.md b/docs/install.md index f2c770b..179072c 100644 --- a/docs/install.md +++ b/docs/install.md @@ -2,7 +2,7 @@ GHCup makes it easy to install specific versions of GHC on GNU/Linux, macOS (aka Darwin), FreeBSD and Windows and can also bootstrap a fresh [Haskell developer environment](./install/#supported-tools) from scratch. -It follows the unix UNIX philosophy of [do one thing and do it well](https://en.wikipedia.org/wiki/Unix_philosophy#Do_One_Thing_and_Do_It_Well). Similar in scope to [rustup](https://github.com/rust-lang-nursery/rustup.rs), [pyenv](https://github.com/pyenv/pyenv) and [jenv](http://www.jenv.be). +It follows the UNIX philosophy of [do one thing and do it well](https://en.wikipedia.org/wiki/Unix_philosophy#Do_One_Thing_and_Do_It_Well). Similar in scope to [rustup](https://github.com/rust-lang-nursery/rustup.rs), [pyenv](https://github.com/pyenv/pyenv) and [jenv](http://www.jenv.be). ## Installation diff --git a/docs/steps.md b/docs/steps.md index e95718a..8cb60d5 100644 --- a/docs/steps.md +++ b/docs/steps.md @@ -251,6 +251,8 @@ Hello, Haskell! someFunc ``` +### Adding dependencies + Now let's add a dependency and adjust our library module. Open `haskell-project.cabal` and find the library section: @@ -289,6 +291,8 @@ someFunc = do putStrLn (show contents) ``` +### Adding modules + To add a module to your package, adjust `exposed-modules`, like so ```