Create Data.Profunctor.Closed

This commit is contained in:
Kiana Sheibani 2023-03-06 12:31:03 -05:00
parent 8d6bc903d0
commit 898087509b
Signed by: toki
GPG key ID: 6CB106C25E86A9F7

View 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)