Customizing an XML-Haskell data binding with type isomorphism inference in Generic Haskell

  • Authors:
  • Frank Atanassow;Johan Jeuring

  • Affiliations:
  • Center for Mathematics and Computer Science (CWI), P.O. Box 4079, NL-1090 GB Amsterdam, The Netherlands;Institute of Information and Computing Sciences, Utrecht University, P.O. Box 80.089, 3508 TB Utrecht, The Netherlands and Open University, Heerlen, The Netherlands

  • Venue:
  • Science of Computer Programming
  • Year:
  • 2007

Quantified Score

Hi-index 0.00

Visualization

Abstract

This paper introduces a type-preserving XML Schema-Haskell data binding (or, translation) UUXML, and shows how to customize it by exploiting the theory of canonical isomorphisms to automatically infer coercions between the machine-generated types and an equivalent, more natural, user-defined set of types. We show how to implement the inference mechanism in Generic Haskell.