Commit 3f9422cb authored by Gabor Greif's avatar Gabor Greif 💬

More typos in comments [ci skip]

parent 78c80c25
......@@ -429,7 +429,7 @@ Note [Rules and inlining]
~~~~~~~~~~~~~~~~~~~~~~~~~
Common special case: no type or dictionary abstraction
This is a bit less trivial than you might suppose
The naive way woudl be to desguar to something like
The naive way would be to desugar to something like
f_lcl = ...f_lcl... -- The "binds" from AbsBinds
M.f = f_lcl -- Generated from "exports"
But we don't want that, because if M.f isn't exported,
......
......@@ -161,7 +161,7 @@ This witness should replace the literal.
This dual role is unusual, because we're replacing 'fromInteger' with
a call to fromInteger. Reason: it allows commoning up of the fromInteger
calls, which wouldn't be possible if the desguarar made the application.
calls, which wouldn't be possible if the desugarer made the application.
The PostTcType in each branch records the type the overload literal is
found to have.
......
......@@ -482,7 +482,7 @@ generate code, something like this:
if (y) {...code for E2...}
l1: ...code for E1...
@
In our setting, here's what will happen. First we desguar the
In our setting, here's what will happen. First we desugar the
conditional, and inline the definition of @||@:
@
case (case x of {True -> True; False -> y}) of
......
......@@ -2042,7 +2042,7 @@ tcLHsKindSig hs_kind
-- This zonk is very important in the case of higher rank kinds
-- E.g. Trac #13879 f :: forall (p :: forall z (y::z). <blah>).
-- <more blah>
-- When instanting p's kind at occurrences of p in <more blah>
-- When instantiating p's kind at occurrences of p in <more blah>
-- it's crucial that the kind we instantiate is fully zonked,
-- else we may fail to substitute properly
......
......@@ -385,7 +385,7 @@ data DsGblEnv
-- iff '-fvectorise' flag was given as well as
-- exported entities of 'Data.Array.Parallel' iff
-- '-XParallelArrays' was given; otherwise, empty
, ds_parr_bi :: PArrBuiltin -- desugarar names for '-XParallelArrays'
, ds_parr_bi :: PArrBuiltin -- desugarer names for '-XParallelArrays'
, ds_complete_matches :: CompleteMatchMap
-- Additional complete pattern matches
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment