fix parser-bench.

This commit is contained in:
Julia Longtin 2020-01-11 00:52:18 +00:00
parent 5164ce6cef
commit 43f843214f

View File

@ -78,7 +78,7 @@ parExpr :: Int -> String
parExpr n = concat ["(a+" <> show i <> "+" | i <- [0..n]] <> "0)" <> concat ["+" <> show i <> ")" | i <- [1..n]]
genList :: Int -> String
genList n = concat ["[1:1:" <> show i <> "] <> " | i <- [1..n]] <> "0"
genList n = concat ["[1:1:" <> show i <> "] ++ " | i <- [1..n]] <> "0"
stringList :: Int -> String
stringList n = "[" <> concat ["\"" <> show i <> "\", " | i <- [1..n]] <> " \"something\"]"