Create Data.Profunctor.Closed
This commit is contained in:
parent
8d6bc903d0
commit
898087509b
12
Data/Profunctor/Closed.idr
Normal file
12
Data/Profunctor/Closed.idr
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
module Data.Profunctor.Closed
|
||||||
|
|
||||||
|
import Data.Profunctor.Types
|
||||||
|
import Data.Profunctor.Functor
|
||||||
|
import Data.Profunctor.Strong
|
||||||
|
|
||||||
|
%default total
|
||||||
|
|
||||||
|
|
||||||
|
public export
|
||||||
|
interface Profunctor p => Closed p where
|
||||||
|
closed : p a b -> p (x -> a) (x -> b)
|
Loading…
Reference in a new issue