3--------------------------------------------------------------------------------
6import Control.DeepSeq (deepseq)
9--------------------------------------------------------------------------------
11type FJ a = Value -> Result a
14type T3 = (Int, Int, Int)
15type T4 = (Int, Int, Int, Int)
27main = let v2 = toJSON t2
30 in t2 `deepseq` t3 `deepseq` t4 `deepseq`
31 v2 `deepseq` v3 `deepseq` v4 `deepseq`
34 [ bench "toJSON" (nf toJSON t2)
35 , bench "fromJSON" (nf (fromJSON :: FJ T2) v2)
38 [ bench "toJSON" (nf toJSON t3)
39 , bench "fromJSON" (nf (fromJSON :: FJ T3) v3)
42 [ bench "toJSON" (nf toJSON t4)
43 , bench "fromJSON" (nf (fromJSON :: FJ T4) v4)
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