mirror of
https://github.com/github/semantic.git
synced 2024-12-24 15:35:14 +03:00
Restore deleted comment.
This commit is contained in:
parent
ba2a270072
commit
5f719f7d17
@ -80,6 +80,7 @@ maybeM :: Applicative f => f a -> Maybe a -> f a
|
||||
maybeM f = maybe f pure
|
||||
{-# INLINE maybeM #-}
|
||||
|
||||
-- Promote a function to either-applicatives.
|
||||
eitherM :: Applicative f => (a -> f b) -> Either a b -> f b
|
||||
eitherM f = either f pure
|
||||
{-# INLINE eitherM #-}
|
||||
|
Loading…
Reference in New Issue
Block a user