From 16f546834892cecd5b598ac7db2c86d60fabe233 Mon Sep 17 00:00:00 2001 From: "simonpj@microsoft.com" Date: Mon, 12 Nov 2007 15:41:09 +0000 Subject: [PATCH] Comment re Trac #1220 --- compiler/typecheck/TcDeriv.lhs | 3 +++ 1 file changed, 3 insertions(+) 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. -- 1.7.10.4