Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- class Functor f => Applicative f where
- liftA2 :: Applicative f => (a -> b -> c) -> f a -> f b -> f c
- (*>) :: Applicative f => f a -> f b -> f b
- (<*) :: Applicative f => f a -> f b -> f a
- unless :: Applicative f => Bool -> f () -> f ()
Documentation
class Functor f => Applicative f where Source #
Plutus Tx version of
Applicative
.
Plutus Tx version of
pure
.
(<*>) :: f (a -> b) -> f a -> f b infixl 4 Source #
Plutus Tx version of
(<*>)
.
Instances
Applicative Maybe Source # | |
Applicative Identity Source # | |
Applicative ( Either a) Source # | |
Monoid m => Applicative ( Const m :: Type -> Type ) Source # | |
liftA2 :: Applicative f => (a -> b -> c) -> f a -> f b -> f c Source #
Plutus Tx version of
liftA2
.
(*>) :: Applicative f => f a -> f b -> f b infixl 4 Source #
Plutus Tx version of
(*>)
.
(<*) :: Applicative f => f a -> f b -> f a infixl 4 Source #
Plutus Tx version of
(<*)
.