flix

0.77.0

WithFilter

enum WithFilter[t: Type, a: Type]Source
case WithFilter(a -> Bool, t)

Type of ForEach views that filter out elements that do not match a predicate.

Instances

instance ForEach[WithFilter[t, a]] with ForEach[t] where ForEach.Elm[t] ~ aSource
type Elm = atype Aef = Aef[t]