plutus-tx-0.1.0.0: Libraries for Plutus Tx and its prelude
Safe HaskellNone
LanguageHaskell2010

PlutusTx.Functor

Synopsis

Documentation

class Functor f where Source #

Plutus Tx version of Functor.

Methods

fmap :: (a -> b) -> f a -> f b Source #

Plutus Tx version of fmap.

Instances

Instances details
Functor [] Source # 
Instance details

Defined in PlutusTx.Functor

Methods

fmap :: (a -> b) -> [a] -> [b] Source #

Functor Maybe Source # 
Instance details

Defined in PlutusTx.Functor

Methods

fmap :: (a -> b) -> Maybe a -> Maybe b Source #

Functor Identity Source # 
Instance details

Defined in PlutusTx.Functor

Methods

fmap :: (a -> b) -> Identity a -> Identity b Source #

Functor Min Source # 
Instance details

Defined in PlutusTx.Semigroup

Methods

fmap :: (a -> b) -> Min a -> Min b Source #

Functor Max Source # 
Instance details

Defined in PlutusTx.Semigroup

Methods

fmap :: (a -> b) -> Max a -> Max b Source #

Functor (Either c) Source # 
Instance details

Defined in PlutusTx.Functor

Methods

fmap :: (a -> b) -> Either c a -> Either c b Source #

Functor ((,) c) Source # 
Instance details

Defined in PlutusTx.Functor

Methods

fmap :: (a -> b) -> (c, a) -> (c, b) Source #

Functor (Map k) Source # 
Instance details

Defined in PlutusTx.AssocMap

Methods

fmap :: (a -> b) -> Map k a -> Map k b Source #

Functor (Const m :: Type -> Type) Source # 
Instance details

Defined in PlutusTx.Functor

Methods

fmap :: (a -> b) -> Const m a -> Const m b Source #

(<$>) :: Functor f => (a -> b) -> f a -> f b infixl 4 Source #

Plutus Tx version of (<$>).

(<$) :: Functor f => a -> f b -> f a infixl 4 Source #

Plutus Tx version of (<$).