Skip to content

Commit

Permalink
typo in monadtrans intro
Browse files Browse the repository at this point in the history
  • Loading branch information
kqr committed Jul 17, 2014
1 parent 7cb66c8 commit a9c8e21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion articles/gentle-introduction-monad-transformers.md
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ either :: (a -> c) -> (b -> c) -> Either a b -> c

In other words, it "unpacks" the `Either` value and applies one of the two
functions to get a `c` value back. In this program, we have an
`Either EmailError Text` and we want just a `Text` back, which tells us what
`Either LoginError Text` and we want just a `Text` back, which tells us what
to print. So we can view the signature of `either` as

```haskell
Expand Down

0 comments on commit a9c8e21

Please sign in to comment.