enum WithMap[t: Type, a: Type, b: Type]
case WithMap(a -> b, t)
A view for ForEach instance t that applies a mapping function to each element.
ForEach
t
instance ForEach[WithMap[t, a, b]] with ForEach[t]