Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- type FundQueue = Fifo Fund
- toList :: FundQueue -> [Fund]
- emptyFundQueue :: FundQueue
- insertFund :: FundQueue -> Fund -> FundQueue
- removeFund :: FundQueue -> Maybe (FundQueue, Fund)
- removeFunds :: Int -> FundQueue -> Maybe (FundQueue, [Fund])
- removeAllFunds :: FundQueue -> (FundQueue, [Fund])
- module Cardano.TxGenerator.Fund
Documentation
toList :: FundQueue -> [Fund] Source #
Converting to a list provides a different, non-FIFO access order.
emptyFundQueue :: FundQueue Source #
This just restricts the type of the generic emptyFifo
.
insertFund :: FundQueue -> Fund -> FundQueue Source #
This just restricts the type of the generic insert
function.
removeFund :: FundQueue -> Maybe (FundQueue, Fund) Source #
This just restricts the type of the generic remove
function.
removeFunds :: Int -> FundQueue -> Maybe (FundQueue, [Fund]) Source #
This just restricts the type of the generic removeN
function.
removeAllFunds :: FundQueue -> (FundQueue, [Fund]) Source #
This is really just toList
paired with an emptyFundQueue
.
module Cardano.TxGenerator.Fund