X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc%2Fdocs%2Fusers_guide%2Fglasgow_exts.sgml;h=5c809257b901db00a3b87676ca0789d79bea12c7;hb=277cd58374ee122c3ae4dc7d99a10971facaf830;hp=1374ac4e07fd5953646e1e5023dc98cc51376394;hpb=b19d97709b3a5f8a6be04f113525f868cc48ad53;p=ghc-hetmet.git diff --git a/ghc/docs/users_guide/glasgow_exts.sgml b/ghc/docs/users_guide/glasgow_exts.sgml index 1374ac4..5c80925 100644 --- a/ghc/docs/users_guide/glasgow_exts.sgml +++ b/ghc/docs/users_guide/glasgow_exts.sgml @@ -142,6 +142,9 @@ Executive summary of our extensions: Generic classes: + (Note: support for generic classes is currently broken + in GHC 5.02). + Generic class declarations allow you to define a class whose methods say how to work over an arbitrary data type. Then it's really easy to make any new type into an instance of @@ -3008,14 +3011,14 @@ The following are good producers: ++ - + map - + filter @@ -3065,8 +3068,14 @@ The following are good consumers: ++ (on its first argument) + + + foldr + + + map @@ -3260,6 +3269,9 @@ program even if fusion doesn't happen. More rules in PrelList.lhs Generic classes + (Note: support for generic classes is currently broken in + GHC 5.02). + The ideas behind this extension are described in detail in "Derivable type classes", Ralf Hinze and Simon Peyton Jones, Haskell Workshop, Montreal Sept 2000, pp94-105.