1{-# LANGUAGE GeneralizedNewtypeDeriving #-}
2module Unique (guid, set, run, runAt, Unique) where
4import Control.Monad.State (evalState, State, get, put)
6-- Wrapper around State monad.
7newtype Unique a = U { runU :: State Int a }
10-- Get the next GUID, incrementing the counter.
19runAt n x = evalState (runU x) n
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