Skip to content

Commit

Permalink
fix: 100⨯ slowdown on parsec-3.1.15
Browse files Browse the repository at this point in the history
  • Loading branch information
ulidtko committed Sep 8, 2023
1 parent eef6884 commit 15a180d
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 15a180d

Please sign in to comment.