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

PlutusTx.Monoid

Synopsis

Documentation

class Semigroup a => Monoid a where Source #

Plutus Tx version of Monoid .

Methods

mempty :: a Source #

Plutus Tx version of mempty .

Instances

Instances details
Monoid () Source #
Instance details

Defined in PlutusTx.Monoid

Monoid BuiltinString Source #
Instance details

Defined in PlutusTx.Monoid

Monoid BuiltinByteString Source #
Instance details

Defined in PlutusTx.Monoid

Monoid [a] Source #
Instance details

Defined in PlutusTx.Monoid

Methods

mempty :: [a] Source #

Semigroup a => Monoid ( Maybe a) Source #
Instance details

Defined in PlutusTx.Monoid

Monoid ( First a) Source #
Instance details

Defined in PlutusTx.Monoid

Monoid a => Monoid ( Dual a) Source #
Instance details

Defined in PlutusTx.Monoid

Monoid ( Endo a) Source #
Instance details

Defined in PlutusTx.Monoid

AdditiveMonoid a => Monoid ( Sum a) Source #
Instance details

Defined in PlutusTx.Numeric

MultiplicativeMonoid a => Monoid ( Product a) Source #
Instance details

Defined in PlutusTx.Numeric

BoundedMeetSemiLattice a => Monoid ( Meet a) Source #
Instance details

Defined in PlutusTx.Lattice

BoundedJoinSemiLattice a => Monoid ( Join a) Source #
Instance details

Defined in PlutusTx.Lattice

( Monoid a, Monoid b) => Monoid (a, b) Source #
Instance details

Defined in PlutusTx.Monoid

Methods

mempty :: (a, b) Source #

( Eq k, Semigroup v) => Monoid ( Map k v) Source #
Instance details

Defined in PlutusTx.AssocMap

mappend :: Monoid a => a -> a -> a Source #

Plutus Tx version of mappend .

mconcat :: Monoid a => [a] -> a Source #

Plutus Tx version of mconcat .

class Monoid a => Group a where Source #

Methods

inv :: a -> a Source #

gsub :: Group a => a -> a -> a Source #