summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPi Delport <pi@well-typed.com>2022-08-29 09:58:51 +0200
committersheaf <sam.derbyshire@gmail.com>2022-08-30 22:40:46 +0000
commit3a00263248e6176e06f03b7390fade48a9adb373 (patch)
tree4e2c732552bfb5066d7a7cfdd9afff3b0cb4eb18
parent9d5ad7c4bb1bd2b450fa13afcf95e3370c53232d (diff)
downloadhaskell-3a00263248e6176e06f03b7390fade48a9adb373.tar.gz
Fix typo in Any docs: syntatic -> syntactic
-rw-r--r--libraries/ghc-prim/GHC/Types.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/libraries/ghc-prim/GHC/Types.hs b/libraries/ghc-prim/GHC/Types.hs
index 099c48b7bd..7c85905229 100644
--- a/libraries/ghc-prim/GHC/Types.hs
+++ b/libraries/ghc-prim/GHC/Types.hs
@@ -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