class
class (Profunctor p, Functor f) => Sieve (p :: Type -> Type -> Type) (f :: Type -> Type) | p -> f whereA Profunctor p is a Sieve on f if it is a subprofunctor of Star f.
That is to say it is a subset of Hom(-,f=) closed under lmap and rmap.
Alternately, you can view it as a sieve in the comma category Hask/f.
Methods
sieve :: p a b -> a -> f b
Instances5Sieve
(Monad m, Functor m) => Sieve (Kleisli m) mDefined in profunctors-5.6.3 · Data.Profunctor.SieveFunctor f => Sieve (Star f) fDefined in profunctors-5.6.3 · Data.Profunctor.SieveSieve (->) IdentityDefined in profunctors-5.6.3 · Data.Profunctor.SieveSieve (Forget r) (Const r)Defined in profunctors-5.6.3 · Data.Profunctor.Sieve(Sieve p f, Sieve q g) => Sieve (Procompose p q) (Compose g f)Defined in profunctors-5.6.3 · Data.Profunctor.Composition