Daml.Finance.Util.Common

Functions

notNull

: [a] -> Bool

Checks if the input list is not empty.

sortAndGroupOn

: Ord k => (a -> k) -> [a] -> [[a]]

Like List.groupOn, but sorts the list first.