next up previous
Next: Datatypes Up: Polytypic Programming Previous: Polytypic Programming

Motivation

``infrastructure'' functions are (mostly) obvious and tedious to write;

pretty printers, parsers, equality and comparisions, maps and folds

polytypic programming relieve this tedium by allowing a programmer to write a function once and apply it at many datatypes

Common functions:

Larger applications:



Matthew Fluet 2001-11-05