[Git][ghc/ghc][master] 2 commits: Fix typo in Any docs: stray "--"

Marge Bot (@marge-bot) gitlab at gitlab.haskell.org
Wed Aug 31 07:53:34 UTC 2022



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


Commits:
9d5ad7c4 by Pi Delport at 2022-08-30T22:40:46+00:00
Fix typo in Any docs: stray "--"

- - - - -
3a002632 by Pi Delport at 2022-08-30T22:40:46+00:00
Fix typo in Any docs: syntatic -> syntactic

- - - - -


1 changed file:

- libraries/ghc-prim/GHC/Types.hs


Changes:

=====================================
libraries/ghc-prim/GHC/Types.hs
=====================================
@@ -143,7 +143,7 @@ data Symbol
 
 -- | The type constructor 'Any' is type to which you can unsafely coerce any
 -- lifted type, and back. More concretely, for a lifted type @t@ and
--- value @x :: t@, -- @unsafeCoerce (unsafeCoerce x :: Any) :: t@ is equivalent
+-- value @x :: t@, @unsafeCoerce (unsafeCoerce x :: Any) :: t@ is equivalent
 -- to @x at .
 --
 type family Any :: k where { }
@@ -165,7 +165,7 @@ type family Any :: k where { }
 -- ==== __Examples__
 --
 -- Unless the OverloadedLists extension is enabled, list literals are
--- syntatic sugar for repeated applications of @:@ and @[]@.
+-- syntactic sugar for repeated applications of @:@ and @[]@.
 --
 -- >>> 1:2:3:4:[] == [1,2,3,4]
 -- True



View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/compare/451b1d90cf14e8fb3f12b1b65d8027717093556a...3a00263248e6176e06f03b7390fade48a9adb373

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/compare/451b1d90cf14e8fb3f12b1b65d8027717093556a...3a00263248e6176e06f03b7390fade48a9adb373
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/20220831/647a9250/attachment.html>


More information about the ghc-commits mailing list