flix

0.65.0

ForEach.WithMap

enum WithMap[t: Type, a: Type, b: Type]Source
case WithMap(a -> b, t)

A view for ForEach instance t that applies a mapping function to each element.

Instances

instance ForEach[WithMap[t, a, b]] with ForEach[t]Source