Small mkdocs improvements
This commit is contained in:
parent
d19ab05a11
commit
e74fb45680
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user