1{-# LANGUAGE OverloadedStrings #-}
2{-# LANGUAGE QuasiQuotes #-}
7import qualified Data.Yaml as Y
8import Data.Yaml (FromJSON(..), (.:))
9import Text.RawString.QQ
10import Data.ByteString (ByteString)
12configYaml :: ByteString
32- wai-app-static-3.1.4.1
38 , packages :: [FilePath]
42instance FromJSON Config where
43 parseJSON (Y.Object v) =
48 parseJSON _ = fail "Expected Object for Config value"
52 print $ (Y.decode configYaml :: Maybe Config)
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