Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Alex D
GHC
Commits
448ea978
Commit
448ea978
authored
Jan 27, 2016
by
Gabor Greif
💬
Browse files
Typos in comments
parent
45fd83bb
Changes
4
Hide whitespace changes
Inline
Side-by-side
compiler/llvmGen/LlvmCodeGen/CodeGen.hs
View file @
448ea978
...
...
@@ -1667,7 +1667,7 @@ genLit _ CmmHighStackMark
-- and avoids having to deal with Phi node insertion. This is also
-- the approach recommended by LLVM developers.
--
-- On the other hand, this is unecessarily verbose if the register in
-- On the other hand, this is un
n
ecessarily verbose if the register in
-- question is never written. Therefore we skip it where we can to
-- save a few lines in the output and hopefully speed compilation up a
-- bit.
...
...
compiler/typecheck/TcSMonad.hs
View file @
448ea978
...
...
@@ -932,7 +932,7 @@ For example, if we have
and we wish to compute S(W/R, T a b), the correct answer is T a Bool, NOT
T Int Bool. The reason is that T's first parameter has a nominal role, and
thus rewriting a to Int in T a b is wrong. Indeed, this non-congruence of
subsitution means that the proof in Note [The inert equalities] may need
subs
t
itution means that the proof in Note [The inert equalities] may need
to be revisited, but we don't think that the end conclusion is wrong.
Note [Examples of how the inert_model helps completeness]
...
...
compiler/vectorise/Vectorise.hs
View file @
448ea978
...
...
@@ -130,7 +130,7 @@ vectModule guts@(ModGuts { mg_tcs = tycons
--
-- The original binding @foo@ is rewritten to call the vectorised version present in the closure.
--
-- Vectorisation may be su
r
pressed by annotating a binding with a 'NOVECTORISE' pragma. If this
-- Vectorisation may be su
p
pressed by annotating a binding with a 'NOVECTORISE' pragma. If this
-- pragma is used in a group of mutually recursive bindings, either all or no binding must have
-- the pragma. If only some bindings are annotated, a fatal error is being raised. (In the case of
-- scalar bindings, we only omit vectorisation if all bindings in a group are scalar.)
...
...
docs/backpack/algorithm.tex
View file @
448ea978
...
...
@@ -671,7 +671,7 @@ we have to type-check the \I{ModIface} with the following adjustments:
with a unit key that is a
$
\verb
|hole|
$
,
substitute with the recorded
\I
{
Name
}
in the requirements of the shape.
Otherwise, look up the (unique)
\I
{
ModIface
}
for the
\I
{
Module
}
,
and subsitute with the corresponding
\I
{
Name
}
in the
\I
{
mi
\_
exports
}
.
and subs
t
itute with the corresponding
\I
{
Name
}
in the
\I
{
mi
\_
exports
}
.
\end{enumerate}
\paragraph
{
Signatures
}
For signatures, we have a
\I
{
Module
}
of the form
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment