Several generic programs for converting values from regular datatypes to some other format, together with their corresponding inverses, are constructed. Among the formats considered are shape plus contents, compact bit streams and pretty printed strings. The different data conversion programs are constructed using John Hughes arrow combinators along with a proof that printing (from a regular datatype to another format) followed by parsing (from that format back to the regular datatype) is the identity. The printers and parsers are described in PolyP, a polytypic extension of the functional language Haskell
Many functions can be dened completely generically for all datatypes. Examples include pretty printe...
A polytypic value is one that is defined by induction on the structure of types. In Haskell types ar...
Many functions have to be written over and over again for different datatypes, either because dataty...
Several generic programs for converting values from regular datatypes to some other format, together...
AbstractSeveral generic programs for converting values from regular datatypes to some other format, ...
Several generic programs for converting values from regular datatypes to some other format, togethe...
. A generic compact printer and a corresponding parser are constructed. These programs transform val...
Many algorithms have to be implemented over and over again for different datatypes, either because d...
A generic compact printer and a corresponding parser are constructed. These programs transform valu...
Many functions have to be written over and over again for different datatypes, either because dataty...
Many functions have to be written over and over again for different datatypes, either because dataty...
A polytypic program is a program that behaves uniformly over a large class of datatypes. For functio...
A polytypic function is a function that can be instantiated on many data types to obtain data type s...
AbstractA polytypic function is a function that can be instantiated on many data types to obtain dat...
A polytypic function is a function that can be instantiated on many data types to obtain data type ...
Many functions can be dened completely generically for all datatypes. Examples include pretty printe...
A polytypic value is one that is defined by induction on the structure of types. In Haskell types ar...
Many functions have to be written over and over again for different datatypes, either because dataty...
Several generic programs for converting values from regular datatypes to some other format, together...
AbstractSeveral generic programs for converting values from regular datatypes to some other format, ...
Several generic programs for converting values from regular datatypes to some other format, togethe...
. A generic compact printer and a corresponding parser are constructed. These programs transform val...
Many algorithms have to be implemented over and over again for different datatypes, either because d...
A generic compact printer and a corresponding parser are constructed. These programs transform valu...
Many functions have to be written over and over again for different datatypes, either because dataty...
Many functions have to be written over and over again for different datatypes, either because dataty...
A polytypic program is a program that behaves uniformly over a large class of datatypes. For functio...
A polytypic function is a function that can be instantiated on many data types to obtain data type s...
AbstractA polytypic function is a function that can be instantiated on many data types to obtain dat...
A polytypic function is a function that can be instantiated on many data types to obtain data type ...
Many functions can be dened completely generically for all datatypes. Examples include pretty printe...
A polytypic value is one that is defined by induction on the structure of types. In Haskell types ar...
Many functions have to be written over and over again for different datatypes, either because dataty...