Commit ff225b49 authored by Gabor Greif's avatar Gabor Greif 💬

Typos in comments

parent c23dc616
...@@ -624,7 +624,7 @@ mkGivenErrorReporter ctxt cts ...@@ -624,7 +624,7 @@ mkGivenErrorReporter ctxt cts
{- Note [Given errors] {- Note [Given errors]
~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~
Given constaints reprsent things for which we have (or will have) Given constraints represent things for which we have (or will have)
evidence, so they aren't errors. But if a Given constraint is evidence, so they aren't errors. But if a Given constraint is
insoluble, this code is inaccessible, and we might want to at least insoluble, this code is inaccessible, and we might want to at least
warn about that. A classic case is warn about that. A classic case is
...@@ -679,7 +679,7 @@ reportGroup :: (ReportErrCtxt -> [Ct] -> TcM ErrMsg) -> ReportErrCtxt ...@@ -679,7 +679,7 @@ reportGroup :: (ReportErrCtxt -> [Ct] -> TcM ErrMsg) -> ReportErrCtxt
reportGroup mk_err ctxt cts = reportGroup mk_err ctxt cts =
case partition isMonadFailInstanceMissing cts of case partition isMonadFailInstanceMissing cts of
-- Only warn about missing MonadFail constraint when -- Only warn about missing MonadFail constraint when
-- there are no other missing contstraints! -- there are no other missing constraints!
(monadFailCts, []) -> (monadFailCts, []) ->
do { err <- mk_err ctxt monadFailCts do { err <- mk_err ctxt monadFailCts
; reportWarning (Reason Opt_WarnMissingMonadFailInstances) err } ; reportWarning (Reason Opt_WarnMissingMonadFailInstances) err }
......
...@@ -693,7 +693,7 @@ mkPiTys :: [TyBinder] -> Type -> Type ...@@ -693,7 +693,7 @@ mkPiTys :: [TyBinder] -> Type -> Type
mkPiTys tbs ty = foldr mkPiTy ty tbs mkPiTys tbs ty = foldr mkPiTy ty tbs
-- | Does this type classify a core (unlifted) Coercion? -- | Does this type classify a core (unlifted) Coercion?
-- At either role nominal or reprsentational -- At either role nominal or representational
-- (t1 ~# t2) or (t1 ~R# t2) -- (t1 ~# t2) or (t1 ~R# t2)
isCoercionType :: Type -> Bool isCoercionType :: Type -> Bool
isCoercionType (TyConApp tc tys) isCoercionType (TyConApp tc tys)
......
...@@ -321,7 +321,7 @@ rts_HC_OPTS += -dcmm-lint ...@@ -321,7 +321,7 @@ rts_HC_OPTS += -dcmm-lint
# StgClosure, StgMVar, etc.), and without -fno-strict-aliasing gcc is # StgClosure, StgMVar, etc.), and without -fno-strict-aliasing gcc is
# allowed to assume that these pointers do not alias. eg. without # allowed to assume that these pointers do not alias. eg. without
# this flag we get problems in sm/Evac.c:copy() with gcc 3.4.3, the # this flag we get problems in sm/Evac.c:copy() with gcc 3.4.3, the
# upd_evacee() assigments get moved before the object copy. # upd_evacuee() assignments get moved before the object copy.
rts_CC_OPTS += -fno-strict-aliasing rts_CC_OPTS += -fno-strict-aliasing
rts_CC_OPTS += -fno-common rts_CC_OPTS += -fno-common
......
...@@ -43,7 +43,7 @@ sorts the shaded bands for each identifier. The default sort ordering is for ...@@ -43,7 +43,7 @@ sorts the shaded bands for each identifier. The default sort ordering is for
the bands with the largest area to be stacked on top of the smaller ones. the bands with the largest area to be stacked on top of the smaller ones.
The The
.B \-d .B \-d
option causes rougher bands (those reprsenting series of values with the option causes rougher bands (those representing series of values with the
largest standard deviations) to be stacked on top of smoother ones. largest standard deviations) to be stacked on top of smoother ones.
.IP "\fB\-b\fP" .IP "\fB\-b\fP"
Normally, Normally,
......
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