Module

Test.Ctl.CoinSelection.RoundRobin

#runRoundRobin

runRoundRobin :: forall (s :: Type). s -> Array (s -> Maybe s) -> s

#consecutivePairs

consecutivePairs :: forall a. List a -> List (a /\ a)

#groupByKey

groupByKey :: forall k v. Ord k => List (k /\ v) -> Map k (List v)

#ungroupByKey

ungroupByKey :: forall k v. Map k (List v) -> List (k /\ v)

#MockRoundRobinState

newtype MockRoundRobinState k n

Constructors

Instances

#runMockRoundRobin

Modules