1{-# LANGUAGE NoImplicitPrelude #-}
3module Main (main) where
7import Control.DeepSeq (deepseq)
11--------------------------------------------------------------------------------
13type FJ a = Value -> Result a
16type T3 = (Int, Int, Int)
17type T4 = (Int, Int, Int, Int)
29main = let v2 = toJSON t2
32 in t2 `deepseq` t3 `deepseq` t4 `deepseq`
33 v2 `deepseq` v3 `deepseq` v4 `deepseq`
36 [ bench "toJSON" (nf toJSON t2)
37 , bench "fromJSON" (nf (fromJSON :: FJ T2) v2)
40 [ bench "toJSON" (nf toJSON t3)
41 , bench "fromJSON" (nf (fromJSON :: FJ T3) v3)
44 [ bench "toJSON" (nf toJSON t4)
45 , 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