10 lines
161 B
Haskell
10 lines
161 B
Haskell
import Protolude
|
|
|
|
import Criterion
|
|
import Criterion.Main
|
|
|
|
inc :: Int -> Int
|
|
inc = (+1)
|
|
|
|
main :: IO ()
|
|
main = defaultMain [bench "inc 41" (whnf inc (41 :: Int))]
|