[Hs-Generics] patch applied (generics): GAPP makes instance derivation automatic. The LDat instance becomes a simple function of the datatype definition.

Oleg Kiselyov oleg at pobox.com
Tue Jun 5 03:07:52 EDT 2007


Mon Jun  4 19:57:16 PDT 2007  oleg at okmij.org
  * GAPP makes instance derivation automatic. The LDat instance becomes a simple function of the datatype definition.

    M ./comparison/SmashA/BTreeDats.hs -4 +4
    M ./comparison/SmashA/CompanyDats.hs -161 +51
    M ./comparison/SmashA/FoldTree.hs +2
    M ./comparison/SmashA/GEq.hs -6 +3
    M ./comparison/SmashA/GMap.hs +2
    M ./comparison/SmashA/GShow.hs +2
    M ./comparison/SmashA/Paradise.hs +2
    M ./comparison/SmashA/Reduce.hs +2
    A ./comparison/SmashA/RoseDats.hs
    M ./comparison/SmashA/Syb4A.hs -32 +37
    M ./comparison/SmashA/TreeDats.hs -8 +8


More information about the Generics mailing list