[Git][ghc/ghc][master] user_guide: Fix typo in MultiWayIf chapter

Marge Bot (@marge-bot) gitlab at gitlab.haskell.org
Fri May 24 11:57:16 UTC 2024



Marge Bot pushed to branch master at Glasgow Haskell Compiler / GHC


Commits:
c5e00c35 by crumbtoo at 2024-05-24T07:54:38-04:00
user_guide: Fix typo in MultiWayIf chapter

Close #24829

- - - - -


1 changed file:

- docs/users_guide/exts/multiway_if.rst


Changes:

=====================================
docs/users_guide/exts/multiway_if.rst
=====================================
@@ -57,5 +57,5 @@ Note that multi-way if supports guards other than boolean conditions: ::
       if | parseNumbers settings
          , Just (exponent, mantissa) <- decomposeNumber str
          , let (integralPart, fractionPart) = parse mantissa
-         , integralPart >= 0 = ...
-         | otherwise = ...
+         , integralPart >= 0 -> ...
+         | otherwise -> ...



View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/c5e00c35927d574f71bf77449817b131d1749750

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/c5e00c35927d574f71bf77449817b131d1749750
You're receiving this email because of your account on gitlab.haskell.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-commits/attachments/20240524/9252ca8d/attachment.html>


More information about the ghc-commits mailing list