• Title of article

    Polytypic data conversion programs

  • Author/Authors

    Patrik Jansson، نويسنده , , Johan Jeuring، نويسنده ,

  • Issue Information
    ماهنامه با شماره پیاپی سال 2002
  • Pages
    41
  • From page
    35
  • To page
    75
  • Abstract
    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.
  • Journal title
    Science of Computer Programming
  • Serial Year
    2002
  • Journal title
    Science of Computer Programming
  • Record number

    1079633