1module Snapshot.EffectBind03 where
7newtype MyEffect a = MyEffect (Effect a)
9instance Functor MyEffect where
10 map f (MyEffect a) = MyEffect (map f a)
12instance Apply MyEffect where
15instance Applicative MyEffect where
16 pure = MyEffect <<< pure
18instance Bind MyEffect where
19 bind (MyEffect a) k = MyEffect do
21 let (MyEffect k') = k a'
24instance Monad MyEffect
26test :: MyEffect Int -> MyEffect Int
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