Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
danidiaz authored Dec 31, 2020
1 parent 80158bc commit 4840f19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lesson5-abstract-typeclasses/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ alas, it doesn't compile:
lib/Lesson5.hs:10:13: error:
• No instance for (Key Int) arising from a use of ‘{Mappy.lookup}’

Why? Well, consider that, unlike [`Main`](./Main.hs), [`Lesson5`](./lib/Lesson5.hs) lives in an indefinite
Why? Well, consider thatunlike [`Main`](./Main.hs)[`Lesson5`](./lib/Lesson5.hs) lives in an indefinite
library. It doesn't know anything about possible implementations of
`Mappy`—check its dependencies in the [`.cabal`](./package.cabal) file! Therefore, it can't be
sure that `Int` has the required `Key` instance. That typeclass could be
Expand Down

0 comments on commit 4840f19

Please sign in to comment.