0 | module Control.Effect.Misc
8 | [Id] Functor (\x => x) where
12 | FunctorId : Functor (\x => x)
13 | FunctorId = Functor.Id
16 | [LeftPair] Functor (, s) where
17 | map f (x, y) = (f x, y)
20 | FunctorLeftPair : Functor (, s)
21 | FunctorLeftPair = Functor.LeftPair
23 | namespace Applicative
25 | [Id] Applicative (\x => x) where
30 | ApplicativeId : Applicative (\x => x)
31 | ApplicativeId = Applicative.Id
35 | [Id] Monad (\x => x) where
39 | MonadId : Monad (\x => x)