AbstractSeveral 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
Datatype-generic programs are programs that are parametrized by a datatype or type functor: whereas ...
A polytypic function is a function that can be instantiated on many data types to obtain data type s...
AbstractA polytypic value is one that is defined by induction on the structure of types. In Haskell ...
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, together...
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...
A polytypic program is a program that behaves uniformly over a large class of datatypes. For functio...
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...
AbstractA polytypic function is a function that can be instantiated on many data types to obtain dat...
This paper describes structural polymorphism, a new form of type polymorphism appropriate to functio...
International audienceThis paper presents a program transformation that allows languages with polymo...
Datatype-generic programs are programs that are parametrized by a datatype or type functor: whereas ...
A polytypic function is a function that can be instantiated on many data types to obtain data type s...
AbstractA polytypic value is one that is defined by induction on the structure of types. In Haskell ...
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, together...
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...
A polytypic program is a program that behaves uniformly over a large class of datatypes. For functio...
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...
AbstractA polytypic function is a function that can be instantiated on many data types to obtain dat...
This paper describes structural polymorphism, a new form of type polymorphism appropriate to functio...
International audienceThis paper presents a program transformation that allows languages with polymo...
Datatype-generic programs are programs that are parametrized by a datatype or type functor: whereas ...
A polytypic function is a function that can be instantiated on many data types to obtain data type s...
AbstractA polytypic value is one that is defined by induction on the structure of types. In Haskell ...