[commit: template-haskell] overlapping-tyfams: Revert ""Merged" master before update to "Good"" (e2f97b1)
Richard Eisenberg
eir at cis.upenn.edu
Fri Jun 21 15:17:57 CEST 2013
Repository : ssh://darcs.haskell.org//srv/darcs/packages/template-haskell
On branch : overlapping-tyfams
http://hackage.haskell.org/trac/ghc/changeset/e2f97b142898eb95d198ecb1d2b1558fbbb143a5
>---------------------------------------------------------------
commit e2f97b142898eb95d198ecb1d2b1558fbbb143a5
Author: Richard Eisenberg <eir at cis.upenn.edu>
Date: Fri May 24 23:30:52 2013 +0100
Revert ""Merged" master before update to "Good""
This reverts commit 30d5fd7d274903f35ad40d27d3b38548adbd4a6c.
>---------------------------------------------------------------
Language/Haskell/TH/Ppr.hs | 2 +-
Language/Haskell/TH/Syntax.hs | 6 +++---
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/Language/Haskell/TH/Ppr.hs b/Language/Haskell/TH/Ppr.hs
index 99f0564..b9105d5 100644
--- a/Language/Haskell/TH/Ppr.hs
+++ b/Language/Haskell/TH/Ppr.hs
@@ -52,7 +52,7 @@ instance Ppr Info where
ppr (PrimTyConI name arity is_unlifted)
= text "Primitive"
<+> (if is_unlifted then text "unlifted" else empty)
- <+> text "type constructor" <+> quotes (ppr name)
+ <+> text "type construtor" <+> quotes (ppr name)
<+> parens (text "arity" <+> int arity)
ppr (ClassOpI v ty cls fix)
= text "Class op from" <+> ppr cls <> colon <+>
diff --git a/Language/Haskell/TH/Syntax.hs b/Language/Haskell/TH/Syntax.hs
index 62b1999..91b1a7d 100644
--- a/Language/Haskell/TH/Syntax.hs
+++ b/Language/Haskell/TH/Syntax.hs
@@ -185,7 +185,7 @@ newName s = Q (qNewName s)
-- but carry on; use 'fail' to stop.
report :: Bool -> String -> Q ()
report b s = Q (qReport b s)
-{-# DEPRECATED report "Use reportError or reportWarning instead" #-} -- deprecated in 7.6
+{-# DEPRECATED report "Use reportError or reportWarning instead" #-}
-- | Report an error to the user, but allow the current splice's computation to carry on. To abort the computation, use 'fail'.
reportError :: String -> Q ()
@@ -575,7 +575,7 @@ data NameFlavour
--
-- The long term solution to this is to use the binary package for annotation serialization and
-- then remove this instance. However, to do _that_ we need to wait on binary to become stable, since
--- boot libraries cannot be upgraded separately from GHC itself.
+-- boot libraries cannot be upgraded seperately from GHC itself.
--
-- This instance cannot be derived automatically due to bug #2701
instance Data NameFlavour where
@@ -1286,7 +1286,7 @@ type Kind = Type
Haskell has a rich concrete syntax for types, including
t1 -> t2, (t1,t2), [t], and so on
In TH we represent all of this using AppT, with a distinguished
-type constructor at the head. So,
+type construtor at the head. So,
Type TH representation
-----------------------------------------------
t1 -> t2 ArrowT `AppT` t2 `AppT` t2
More information about the ghc-commits
mailing list