1{-# LANGUAGE OverloadedStrings #-}
5import qualified Data.Yaml as Y
9 print $ (Y.decode "[1,2,3]" :: Maybe [Integer])
11-- You can go one step further and decode into a custom type by implementing
12-- 'FromJSON' for that type. This is also appropriate where extra
13-- normalization, formatting or manipulation of the YAML is required on decode.
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