Skip to content

Commit

Permalink
Merge pull request #41 from gasi/patch-1
Browse files Browse the repository at this point in the history
Remove mention of `return` function
  • Loading branch information
garyb authored Dec 1, 2018
2 parents fffff8f + 169ca64 commit 81f0397
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Data/Maybe.purs
Original file line number Diff line number Diff line change
Expand Up @@ -69,11 +69,10 @@ instance applyMaybe :: Apply Maybe where
apply Nothing _ = Nothing

-- | The `Applicative` instance enables lifting of values into `Maybe` with the
-- | `pure` or `return` function (`return` is an alias for `pure`):
-- | `pure` function:
-- |
-- | ``` purescript
-- | pure x :: Maybe _ == Just x
-- | return x :: Maybe _ == Just x
-- | ```
-- |
-- | Combining `Functor`'s `<$>` with `Apply`'s `<*>` and `Applicative`'s
Expand Down

0 comments on commit 81f0397

Please sign in to comment.