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
39instance Binary Info where
40 put (Info imports chunks) =
41 put imports >> put chunks
47instance Binary Chunk where
51 putWord8 0 >> put bytes
54 putWord8 1 >> put home >> put name
57 putWord8 2 >> put field
69 1 -> liftM2 Var get get
71 3 -> return (Prod True)
72 4 -> return (Prod False)
73 _ -> 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