Changes between Version 4 and Version 5 of BinaryIO


Ignore:
Timestamp:
Dec 20, 2005 3:35:49 PM (10 years ago)
Author:
malcolm.wallace@…
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • BinaryIO

    v4 v5  
    1717 
    1818== Proposal 2 - The Binary class == 
    19  * Proposal two is to add a Binary class, based on the type class described in [ftp://ftp.cs.york.ac.uk/pub/malcolm/ismm98.html The Bits Between The Lambdas]. The advantage of this form of binary I/O over the simpler System.IO library is support for serialising more complex data types, using type classes to recursively define binary I/O routines for each component of the type. Instances of I/O may be written by hand, or derived mechanically with [http://repetae.net/john/computer/haskell/DrIFT/ DrIFT]. Ideally Binary would be derivable by the compiler (is this feasible?). 
     19 * Proposal two is to add a Binary class, based on the type class described in [ftp://ftp.cs.york.ac.uk/pub/malcolm/ismm98.html The Bits Between The Lambdas]. The advantage of this form of binary I/O over the simpler System.IO library is support for serialising more complex data types, using type classes to recursively define binary I/O routines for each component of the type. Instances of I/O may be written by hand, or derived mechanically with [http://repetae.net/john/computer/haskell/DrIFT/ DrIFT]. Ideally Binary would be derivable by the compiler (as is done currently in nhc98), or perhaps using some form of datatype-generic declarations (see DerivedInstances). 
    2020 
    2121== References ==