From 85ed6b8fbe333619a9200ab247be3c9e6aac0429 Mon Sep 17 00:00:00 2001 From: Neil Brown Date: Wed, 11 Feb 2009 16:50:47 +0000 Subject: [PATCH] Discovered that I'd googled to some outdated docs, and fixed the last comment change --- polyplate/Data/Generics/Polyplate/GenInstances.hs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/polyplate/Data/Generics/Polyplate/GenInstances.hs b/polyplate/Data/Generics/Polyplate/GenInstances.hs index 094ce92..c763ba3 100644 --- a/polyplate/Data/Generics/Polyplate/GenInstances.hs +++ b/polyplate/Data/Generics/Polyplate/GenInstances.hs @@ -33,8 +33,8 @@ with this program. If not, see . -- using GHC 6.8.2 or later, you can simply add these lines in your module for -- generating the instances (assuming the data-type is not hidden during import): -- --- > deriving Typeable for Foo --- > deriving Data for Foo +-- > deriving instance Typeable Foo +-- > deriving instance Data Foo module Data.Generics.Polyplate.GenInstances (GenOverlappedOption(..), GenClassOption(..), GenInstance, genInstance, genMapInstance, genSetInstance, genInstances,