Skip to content

Commit

Permalink
fixup! Move Streamly.Data.Unicode.Parser.Extra to the Internal namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
adithyaov committed Jun 24, 2023
1 parent 0d6283b commit d1b99c9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Streamly/Internal/Data/Unicode/Parser/Extra.hs
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ scientific = Parser step initial extract
extract (SPDot _ _) = pure $ Error "No number found after '.'"
extract (SPAfterDot mult buf decimalPlaces) = do
pure
$ Done 1
$ Done 0
$ Scientific.scientific
(intToInteger (mult * buf))
(-1 * decimalPlaces)
Expand All @@ -183,7 +183,7 @@ scientific = Parser step initial extract
pure $ Error "No number found after exponent and sign"
extract (SPAfterExponent mult number decimalPlaces powerMult buf) = do
pure
$ Done 1
$ Done 0
$ Scientific.scientific
(intToInteger (mult * number))
(powerMult * buf - decimalPlaces)

0 comments on commit d1b99c9

Please sign in to comment.