1{-# OPTIONS_GHC -Wall #-}
9import Control.Monad (liftM, liftM2)
11import qualified Data.ByteString as BS
12import qualified Data.Text as Text
14import qualified AST.Module.Name as ModuleName
23 { _imports :: [(ModuleName.Raw, Text.Text)]
30 | Var ModuleName.Raw Text.Text
38instance Binary Info where
39 put (Info imports chunks) =
40 put imports >> put chunks
46instance Binary Chunk where
50 putWord8 0 >> put bytes
53 putWord8 1 >> put home >> put name
65 1 -> liftM2 Var get get
66 2 -> return (Prod True)
67 3 -> return (Prod False)
68 _ -> error "problem deserializing Parse.Kernel.Chunk"
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