Create Data.Profunctor.Yoneda

This commit is contained in:
Kiana Sheibani 2023-03-06 21:42:52 -05:00
parent 14d392c021
commit fec58179c6
Signed by: toki
GPG key ID: 6CB106C25E86A9F7

View file

@ -0,0 +1,11 @@
module Data.Profunctor.Yoneda
import Data.Profunctor
%default total
public export
record Yoneda p a b where
constructor MkYoneda
runYoneda : forall x, y. (x -> a) -> (b -> y) -> p x y