-- Hoogle documentation, generated by Haddock -- See Hoogle, http://www.haskell.org/hoogle/ -- | Generic binary serialisation using binary and syb. -- -- Instead of manual or semi-automated generation of instances of -- Data.Binary.Binary you just derive Data.Data and the -- library automatically figures out how to (de-)serialize the type. @package binary-generic @version 0.1 -- | The following primitive datatypes are used as basecases and get -- serialized according to their instances of Data.Binary: -- -- -- -- Float and Double are serialized according to -- IEEE754. For any algebraic datatype just make it an instance -- of class Data.Data by simply deriving Data on -- definition or try stand-alone-deriving. module Data.Binary.Generic getGeneric :: (Data a) => Get a putGeneric :: (Data a) => a -> Put