X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=blobdiff_plain;f=compiler%2FhsSyn%2FHsBinds.lhs;h=7de1d83ebaf04b3e0fbde9cdd169fcb29c1f1d87;hp=d1c2234cc08cce16fc8cbd79c6b25b672c05da0d;hb=dd99b6f8c61f393087d03cd697c06051a43ca4e9;hpb=e314b86f6290e5440a46cd5cc29f7878cb78c6fb diff --git a/compiler/hsSyn/HsBinds.lhs b/compiler/hsSyn/HsBinds.lhs index d1c2234..7de1d83 100644 --- a/compiler/hsSyn/HsBinds.lhs +++ b/compiler/hsSyn/HsBinds.lhs @@ -339,7 +339,7 @@ data HsWrapper | WpCompose HsWrapper HsWrapper -- (\a1..an. []) `WpCompose` (\x1..xn. []) -- = (\a1..an \x1..xn. []) - | WpCo Coercion -- A cast: [] `cast` co + | WpCast Coercion -- A cast: [] `cast` co -- Guaranteedn not the identity coercion | WpApp Var -- [] d the 'd' is a type-class dictionary @@ -361,7 +361,7 @@ pprHsWrapper it wrap = let help it WpHole = it help it (WpCompose f1 f2) = help (help it f2) f1 - help it (WpCo co) = sep [it, nest 2 (ptext SLIT("`cast`") <+> pprParendType co)] + help it (WpCast co) = sep [it, nest 2 (ptext SLIT("`cast`") <+> pprParendType co)] help it (WpApp id) = sep [it, nest 2 (ppr id)] help it (WpTyApp ty) = sep [it, ptext SLIT("@") <+> pprParendType ty] help it (WpLam id) = sep [ptext SLIT("\\") <> pprBndr LambdaBind id <> dot, it]