Skip to content

Commit

Permalink
Remove mention of return function
Browse files Browse the repository at this point in the history
  • Loading branch information
gasi authored Nov 30, 2018
1 parent fffff8f commit 169ca64
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 169ca64

Please sign in to comment.