Skip to content

Commit

Permalink
Merge pull request #1529 from cranst0n/docTypo
Browse files Browse the repository at this point in the history
Fix typo in applicative doc.
  • Loading branch information
fthomas authored Jan 30, 2017
2 parents d0166d8 + 4fa5c43 commit ff158f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/src/main/tut/typeclasses/applicative.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ val char: Option[Char] = Some('a')
int.map(i => (c: Char) => f(i, c)) // what now?
```

We have an `Option[Char => Double]` and an `Option[Double]` to which we want to apply the function to,
We have an `Option[Char => Double]` and an `Option[Char]` to which we want to apply the function to,
but `map` doesn't give us enough power to do that. Hence, `ap`.

## Applicatives compose
Expand Down

0 comments on commit ff158f7

Please sign in to comment.