Create Data.Profunctor.Yoneda
This commit is contained in:
parent
14d392c021
commit
fec58179c6
11
Data/Profunctor/Yoneda.idr
Normal file
11
Data/Profunctor/Yoneda.idr
Normal 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
|
Loading…
Reference in a new issue