1{-# LANGUAGE BangPatterns, ScopedTypeVariables #-}
2{-# OPTIONS_GHC -fno-warn-orphans #-}
8import System.Environment (getArgs)
10instance NFData JSValue where
12 rnf (JSBool b) = rnf b
13 rnf (JSRational b r) = rnf b `seq` rnf r `seq` ()
14 rnf (JSString s) = rnf (fromJSString s)
15 rnf (JSArray vs) = rnf vs
16 rnf (JSObject kvs) = rnf (fromJSObject kvs)
21 let count = read cnt :: Int
22 forM_ args $ \arg -> do
24 start <- getCurrentTime
26 | good+bad >= count = return (good, bad)
29 case decodeStrict s of
30 Ok (_::JSValue) -> loop (good+1) 0
34 putStrLn $ " " ++ show good ++ " good, " ++ show (diffUTCTime end start)
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