File tree Expand file tree Collapse file tree 1 file changed +0
-8
lines changed
src/Data/Profunctor/Kleisli Expand file tree Collapse file tree 1 file changed +0
-8
lines changed Original file line number Diff line number Diff line change @@ -51,14 +51,6 @@ instance Control.Applicative f => Wandering (Kleisli f) where
51
51
-- profunctorial properties still hold in this weaker setting.
52
52
-- However stronger requirements on `f` are needed for profunctorial
53
53
-- strength, so we have fewer instances.
54
- --
55
- -- Category theoretic remark: duality doesn't work in the obvious way, since
56
- -- (,) isn't the categorical product. Instead, we have a product (&), called
57
- -- "With", defined by
58
- -- > type With a b = forall r. Either (a #-> r) (b #-> r) #-> r
59
- -- which satisfies the universal property of the product of `a` and `b`.
60
- -- CoKleisli arrows are strong with respect to this monoidal structure,
61
- -- although this might not be useful...
62
54
newtype CoKleisli w a b = CoKleisli { runCoKleisli :: w a #-> b }
63
55
64
56
instance Data. Functor f => Profunctor (CoKleisli f ) where
You can’t perform that action at this time.
0 commit comments