Small mkdocs improvements

This commit is contained in:
2022-04-02 20:11:09 +02:00
parent d19ab05a11
commit e74fb45680
2 changed files with 5 additions and 1 deletions

View File

@@ -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
```