1{-# LANGUAGE OverloadedStrings #-}
2{-# LANGUAGE QuasiQuotes #-}
7import qualified Data.Yaml as Y
8import Data.Yaml (FromJSON(..), (.:))
9import Text.RawString.QQ
10import Data.ByteString (ByteString)
11import Control.Applicative
12import Prelude -- Ensure Applicative is in scope and we have no warnings, before/after AMP.
14configYaml :: ByteString
34- wai-app-static-3.1.4.1
40 , packages :: [FilePath]
44instance FromJSON Config where
45 parseJSON (Y.Object v) =
50 parseJSON _ = fail "Expected Object for Config value"
54 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