Parameters
scanner: ((acc) => ((key) => ((value) => Tuple<A, R>)))
- (acc): ((key) => ((value) => Tuple<A, R>))
Returns ((key) => ((value) => Tuple<A, R>))
- (key): ((value) => Tuple<A, R>)
Returns ((value) => Tuple<A, R>)
Returns ((init) => ((m) => Tuple<A, Map<K, R>>))
The last accumulating state and new scanned Map
.
- (init): ((m) => Tuple<A, Map<K, R>>)
Returns ((m) => Tuple<A, Map<K, R>>)
- (m): Tuple<A, Map<K, R>>
Returns Tuple<A, Map<K, R>>
Scans over the
Map
withscanner
function, a stateful computation.