Changes between Version 7 and Version 8 of DerivedInstances


Ignore:
Timestamp:
Nov 1, 2006 9:19:24 AM (9 years ago)
Author:
ross@…
Comment:

link to GHC wiki page on stand-alone deriving

Legend:

Unmodified
Added
Removed
Modified
  • DerivedInstances

    v7 v8  
    3333'deriving' qtycls 'for' qtycon 
    3434}}} 
    35 which produces the same instance as would be produced by a `deriving` clause in a `data` or `newtype` declaration, but allows this derivation to be decoupled from the datatype declaration, e.g. in another module 
    36 ([http://www.haskell.org/ghc/dist/current/docs/users_guide/type-extensions.html#stand-alone-deriving GHC documentation]) 
     35which produces the same instance as would be produced by a `deriving` clause in a `data` or `newtype` declaration, but allows this derivation to be decoupled from the datatype declaration, e.g. in another module. 
     36See [http://haskell.org/haskellwiki/GHC/StandAloneDeriving Stand-alone deriving declarations] on the GHC Wiki.