Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions memegen/codelab/memegen_codelab.md
Original file line number Diff line number Diff line change
Expand Up @@ -214,17 +214,17 @@ generic. Later, when we define the application state, we will be able to put a
concrete type signature.

Try to build the application by running `stack build`. It will fail.
The `snap` dependency is missing. Open the Cabal configuration and add the
The `snap` dependency is missing. Open the `package.yml` and add the
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

s/package.yml/package.yaml/

library dependency:

```
library
...
exposed-modules: Memegen.Lib
build-depends: base >= 4.7 && < 5
, snap
dependencies:
- base >= 4.7 && < 5
- snap
```

We now need to let Stack automatically update our cabal configuration. Run `stack solve --update-config`. You may have to run `stack install cabal-install` prior to running this command.

To make the code compile successfully, we still need to make a couple of changes:

* Add the *OverloadedStrings* syntax extension. It is required by `makeSnaplet`
Expand Down