Skip to main content

Multi-polymorphic programming in bondi

Authors

Thomas Given-Wilson, Freeman Huang and Barry Jay

NICTA

University of Technology
Sydney

Abstract

The bondi programming language is multi-polymorphic, in that it supports four polymorphic programming styles within a small core of computation, namely a typed pattern calculus. bondi's expressive power is illustrated by considering the problem of assigning reviewers to a paper. As the context generalises from a committee to a committee with additional reviewers, to a conference, a federation or confederation, the solution incorporates polymorphism familiar from the functional, generic functional, relational, path-based and object-oriented programming styles, respectively. These experiments show that multi-polymorphic programming is both practical and desirable.

BibTeX Entry

  @inproceedings{GivenWilson_HJ_13,
    author           = {Given-Wilson, Thomas and Huang, Freeman and Jay, Barry},
    doi              = {10.1145/2502488.2502493},
    month            = sep,
    year             = {2013},
    keywords         = {polymorphism, pattern matching, bondi, pattern calculus, generic programming},
    address          = {Boston, Massachusetts, USA},
    title            = {Multi-polymorphic programming in bondi},
    pages            = {53--60},
    booktitle        = {9th ACM SIGPLAN Workshop on Generic Programming},
    paperurl         = {https://ts.data61.csiro.au/publications/nicta_full_text/7180.pdf},
    publisher        = {ACM}
  }

Download

Served by Apache on Linux on seL4.