1module Control.Monad.Identity
4import Prelude.Applicative
7public record Identity : Type -> Type where
8 Id : (runIdentity : a) -> Identity a
10instance Functor Identity where
11 fmap fn (Id a) = Id (fn a)
13instance Applicative Identity where
16 (Id f) <$> (Id g) = Id (f g)
18instance Monad Identity where
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list