0 | module Control.Set 1 | 2 | import Control.Category 3 | 4 | public export 5 | Fn : Type -> Type -> Type 6 | Fn x y = x -> y 7 | 8 | public export 9 | [Set] Category Fn where 10 | id x = x 11 | (.) f g x = f (g x) 12 | 13 | public export 14 | KleisliFn : (Type -> Type) -> Type -> Type -> Type 15 | KleisliFn m x y = x -> m y 16 | 17 |