Skip to content
Snippets Groups Projects
Commit 8e4198ad authored by crumbtoo's avatar crumbtoo Committed by Ben Gamari
Browse files

user_guide: Fix typo in MultiWayIf chapter

Close #24829

(cherry picked from commit c5e00c35)
parent 43e73dfb
No related branches found
No related tags found
No related merge requests found
...@@ -57,5 +57,5 @@ Note that multi-way if supports guards other than boolean conditions: :: ...@@ -57,5 +57,5 @@ Note that multi-way if supports guards other than boolean conditions: ::
if | parseNumbers settings if | parseNumbers settings
, Just (exponent, mantissa) <- decomposeNumber str , Just (exponent, mantissa) <- decomposeNumber str
, let (integralPart, fractionPart) = parse mantissa , let (integralPart, fractionPart) = parse mantissa
, integralPart >= 0 = ... , integralPart >= 0 -> ...
| otherwise = ... | otherwise -> ...
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment