summaryrefslogtreecommitdiff
path: root/compiler/prelude/TysWiredIn.hs
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/prelude/TysWiredIn.hs')
-rw-r--r--compiler/prelude/TysWiredIn.hs6
1 files changed, 3 insertions, 3 deletions
diff --git a/compiler/prelude/TysWiredIn.hs b/compiler/prelude/TysWiredIn.hs
index eb9c04fdc9..a1f9f267fe 100644
--- a/compiler/prelude/TysWiredIn.hs
+++ b/compiler/prelude/TysWiredIn.hs
@@ -680,7 +680,7 @@ Note [How tuples work] See also Note [Known-key names] in PrelNames
pretty-print saturated constraint tuples with round parens;
see BasicTypes.tupleParens.
-* In quite a lot of places things are restrcted just to
+* In quite a lot of places things are restricted just to
BoxedTuple/UnboxedTuple, and then we used BasicTypes.Boxity to distinguish
E.g. tupleTyCon has a Boxity argument
@@ -702,7 +702,7 @@ GHC supports both boxed and unboxed one-tuples:
single value after CPR analysis
- A boxed one-tuple is used by DsUtils.mkSelectorBinds, when
there is just one binder
-Basically it keeps everythig uniform.
+Basically it keeps everything uniform.
However the /naming/ of the type/data constructors for one-tuples is a
bit odd:
@@ -1340,7 +1340,7 @@ boxing_constr_env
{- Note [Boxing primitive types]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-For a handful of primitive types (Int, Char, Word, Flaot, Double),
+For a handful of primitive types (Int, Char, Word, Float, Double),
we can readily box and an unboxed version (Int#, Char# etc) using
the corresponding data constructor. This is useful in a couple
of places, notably let-floating -}