1{-# OPTIONS_GHC -Wall #-}
10import Control.Monad (liftM, liftM2)
12import qualified Data.ByteString as BS
13import qualified Data.Text as Text
15import qualified AST.Module.Name as ModuleName
25 , _server :: Maybe Content
35 { _imports :: [(ModuleName.Raw, Text.Text)]
46 | Var ModuleName.Raw Text.Text
56instance Binary Data where
57 put (Data client server) =
58 put client >> put server
64instance Binary Content where
65 put (Content imports chunks) =
66 put imports >> put chunks
69 liftM2 Content get get
72instance Binary Chunk where
76 putWord8 0 >> put bytes
79 putWord8 1 >> put home >> put name
82 putWord8 2 >> put field
94 1 -> liftM2 Var get get
98 _ -> 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