1module Control.Distributed.Process.Internal.StrictContainerAccessors
6import Prelude hiding (map)
9import qualified Data.Map as Map (lookup, insert, delete, findWithDefault)
11mapMaybe :: Ord key => key -> Accessor (Map key elem) (Maybe elem)
12mapMaybe key = accessor
14 (\mVal map -> case mVal of
15 Nothing -> Map.delete key map
16 Just val -> val `seq` Map.insert key val map)
18mapDefault :: Ord key => elem -> key -> Accessor (Map key elem) elem
19mapDefault def key = accessor
20 (Map.findWithDefault def key)
21 (\val map -> val `seq` Map.insert key val map)
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