groupBy
: Ord k => (a -> k) -> [a] -> Map k [a] Like List.groupOn, but returns the output in a Map.
: Ord k => (a -> k) -> [a] -> Map k [a]
Like List.groupOn, but returns the output in a Map.
List.groupOn
Map
fetchAndValidate
: (HasFetch t, Eq a, Show a) => ContractId t -> [(Text, t -> a, a)] -> Update t Fetch a contract and validate that fields are as expected.
: (HasFetch t, Eq a, Show a) => ContractId t -> [(Text, t -> a, a)] -> Update t
Fetch a contract and validate that fields are as expected.