plutus-tx-1.0.0.0: Libraries for Plutus Tx and its prelude
Safe Haskell None
Language Haskell2010

PlutusTx.Applicative

Synopsis

Documentation

class Functor f => Applicative f where Source #

Plutus Tx version of Applicative .

Methods

pure :: a -> f a Source #

Plutus Tx version of pure .

(<*>) :: f (a -> b) -> f a -> f b infixl 4 Source #

Plutus Tx version of (<*>) .

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 (<*) .

unless :: Applicative f => Bool -> f () -> f () Source #

Plutus Tx version of unless .