DrIFT 2.2.1 is out and now has support for the Data.Binary module.

The old 'Binary' has been moved to 'BitsBinary' and 'Binary' now refers
to the new 'Data.Binary' version of the library.

the homepage is at:
http://repetae.net/~john/computer/haskell/DrIFT/

the current list of deriving rules it knows about is:

Binary:                
   Binary              Data.Binary binary encoding of terms
   BitsBinary          efficient binary encoding of terms
   GhcBinary           byte sized binary encoding of terms
Debugging:             
   Arbitrary           Derive reasonable Arbitrary for QuickCheck
   Observable          HOOD observable
General:               
   NFData              provides 'rnf' to reduce to normal form (deepSeq)
   Typeable            derive Typeable for Dynamic
Generics:              
   FunctorM            derive reasonable fmapM implementation
   HFoldable           Strafunski hfoldr
   Monoid              derive reasonable Data.Monoid implementation
   RMapM               derive reasonable rmapM implementation
   Term                Strafunski representation via Dynamic
Prelude:               
   Bounded             
   Enum                
   Eq                  
   Ord                 
   Read                
   Show                
Representation:        
   ATermConvertible    encode terms in the ATerm format
   Haskell2Xml         encode terms as XML (HaXml<=1.13)
   XmlContent          encode terms as XML (HaXml>=1.14)
Utility:               
   Parse               parse values back from standard 'Show'
   Query               provide a QueryFoo class with 'is', 'has', 'from', and 
'get' routines
   from                provides fromFoo for each constructor
   get                 for label 'foo' provide foo_g to get it
   has                 hasfoo for record types
   is                  provides isFoo for each constructor
   test                output raw data for testing
   un                  provides unFoo for unary constructors
   update              for label 'foo' provides 'foo_u' to update it and foo_s 
to set it


        John


-- 
John Meacham - ⑆repetae.net⑆john⑈
_______________________________________________
Haskell mailing list
Haskell@haskell.org
http://www.haskell.org/mailman/listinfo/haskell

Reply via email to