From ebb07175062cf5122f3c49fa025163a9d6392e63 Mon Sep 17 00:00:00 2001 From: Max Bolingbroke Date: Fri, 9 Sep 2011 14:10:40 +0100 Subject: Replace FactTuple with ConstraintTuple --- src/Haddock/Convert.hs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/Haddock/Convert.hs b/src/Haddock/Convert.hs index d4f75662..e46a37a4 100644 --- a/src/Haddock/Convert.hs +++ b/src/Haddock/Convert.hs @@ -263,9 +263,9 @@ synifyType _ (TyConApp tc tys) -- Use non-prefix tuple syntax where possible, because it looks nicer. | isTupleTyCon tc, tyConArity tc == length tys = noLoc $ HsTupleTy (case tupleTyConSort tc of - BoxedTuple -> HsBoxyTuple liftedTypeKind - FactTuple -> HsBoxyTuple constraintKind - UnboxedTuple -> HsUnboxedTuple) + BoxedTuple -> HsBoxyTuple liftedTypeKind + ConstraintTuple -> HsBoxyTuple constraintKind + UnboxedTuple -> HsUnboxedTuple) (map (synifyType WithinType) tys) -- ditto for lists | getName tc == listTyConName, [ty] <- tys = -- cgit v1.2.3