Changes between Version 2 and Version 3 of DerivingInstances
- Timestamp:
- 04/14/08 18:11:29 (5 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
DerivingInstances
v2 v3 33 33 == Discussion == 34 34 35 http://www.haskell.org/ghc/dist/current/docs/users_guide/type-extensions.html#stand-alone-deriving describes an implementation of something very like this in GHC. 36 35 37 http://haskell.org/haskellwiki/GHC/Stand-alone_deriving_declarations contains a great discussion of some of these ideas. (NB. Section 3 is misleading: leaving the clauses out of an instance declaration ''does not'' leave all the methods undefined; rather it gives the default methods of the class). 36 38
