Skip to content

Commit

Permalink
A few more typos in non-code
Browse files Browse the repository at this point in the history
  • Loading branch information
ggreif committed Feb 19, 2016
1 parent 0b68cbe commit 8b073f6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion compiler/specialise/Specialise.hs
Original file line number Diff line number Diff line change
Expand Up @@ -766,7 +766,7 @@ Suppose
* Import Lib(foo) into another module M
* Call 'foo' at some specialised type in M
Then you jolly well expect it to be specialised in M. But what if
'foo' calls another fuction 'Lib.bar'. Then you'd like 'bar' to be
'foo' calls another function 'Lib.bar'. Then you'd like 'bar' to be
specialised too. But if 'bar' is not marked INLINEABLE it may well
not be specialised. The warning Opt_WarnMissedSpecs warns about this.
Expand Down
2 changes: 1 addition & 1 deletion libraries/ghc-prim/GHC/Types.hs
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,7 @@ data type T. Things to think about
- We do this for every module (except this module GHC.Types), so we can't
depend on anything else (eg string unpacking code)
That's why we have these terribly low-level repesentations. The TrName
That's why we have these terribly low-level representations. The TrName
type lets us use the TrNameS constructor when allocating static data;
but we also need TrNameD for the case where we are deserialising a TyCon
or Module (for example when deserialising a TypeRep), in which case we
Expand Down
2 changes: 1 addition & 1 deletion testsuite/tests/profiling/should_run/T5654b.hs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
-- A variant of T5654 where instead of evaluating directly to a
-- funciton, f evaluates to a new PAP. This exposes a slightly
-- function, f evaluates to a new PAP. This exposes a slightly
-- different but related bug, where when we create a new PAP by
-- applying arguments to an existing PAP, we should take into account
-- the stack on the original PAP.
Expand Down

0 comments on commit 8b073f6

Please sign in to comment.