From: simonpj@microsoft.com Date: Mon, 12 Nov 2007 15:41:09 +0000 (+0000) Subject: Comment re Trac #1220 X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=commitdiff_plain;h=16f546834892cecd5b598ac7db2c86d60fabe233 Comment re Trac #1220 --- diff --git a/compiler/typecheck/TcDeriv.lhs b/compiler/typecheck/TcDeriv.lhs index d414c6f..774bbe9 100644 --- a/compiler/typecheck/TcDeriv.lhs +++ b/compiler/typecheck/TcDeriv.lhs @@ -222,6 +222,9 @@ And then translate it to: Note [Newtype deriving superclasses] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +(See also Trac #1220 for an interesting exchange on newtype +deriving and superclasses.) + The 'tys' here come from the partial application in the deriving clause. The last arg is the new instance type.