Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
Convenient utils to work with Applicative
. There were more functions in this module
(see protolude version)
but only convenient ans most used are left.
- module Control.Applicative
- pass :: Applicative f => f ()
Documentation
module Control.Applicative
pass :: Applicative f => f () Source #
Shorter alias for pure ()
.
>>>
pass :: Maybe ()
Just ()