Skip to content

Commit

Permalink
Merge pull request #277 from zoominsoftware/fix/100x-slowdown-parsec-…
Browse files Browse the repository at this point in the history
…3.1.15

Fix 100⨯ slowdown on parsec-3.1.15
  • Loading branch information
snoyberg authored Sep 11, 2023
2 parents eef6884 + 15a180d commit 6ca155b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Text/Hamlet/Parse.hs
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ data Line = LineForall Deref Binding

parseLines :: HamletSettings -> String -> Result (Maybe NewlineStyle, HamletSettings, [(Int, Line)])
parseLines set s =
case parse parser s s of
case parse parser "[Hamlet input]" s of
Left e -> Error $ show e
Right x -> Ok x
where
Expand Down

0 comments on commit 6ca155b

Please sign in to comment.