on master help sign in
Benchmark float parsing by default
6e84333Bryan O'Sullivan
tests/benchmarks/ReadNumbers.hs+1−1
@@ -12,7 +12,7 @@ hex = T.signed T.hexadecimal :: T.Lexer Int
12
12
13double = T.double :: T.Lexer Double
13double = T.double :: T.Lexer Double
14
14
15−def = dec
15+def = double
16
16
17read1 :: Num a => T.Lexer a -> T.Text -> a
17read1 :: Num a => T.Lexer a -> T.Text -> a
18read1 reader = foldl' go 0 . T.lines
18read1 reader = foldl' go 0 . T.lines