Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Cooked.Tweak.Mint
Synopsis
- addMintTweak :: MonadTweak m => Mint -> m ()
- removeMintTweak :: MonadTweak m => (Mint -> Bool) -> m [Mint]
Documentation
addMintTweak :: MonadTweak m => Mint -> m () Source #
Adds a new entry to the TxSkelMints
of the transaction skeleton under
modification. As this is implemented in terms of addMint
, the same caveats
apply as do to that function!
removeMintTweak :: MonadTweak m => (Mint -> Bool) -> m [Mint] Source #
Remove some entries from the TxSkelMints
of a transaction, according to
some predicate. The returned list holds the removed entries.