Hostname: page-component-89b8bd64d-z2ts4 Total loading time: 0 Render date: 2026-05-08T12:45:55.738Z Has data issue: false hasContentIssue false

The arrow calculus

Published online by Cambridge University Press:  26 January 2010

SAM LINDLEY
Affiliation:
University of Edinburgh (e-mail: Sam.Lindley@ed.ac.uk, Philip.Wadler@ed.ac.uk, Jeremy.Yallop@ed.ac.uk)
PHILIP WADLER
Affiliation:
University of Edinburgh (e-mail: Sam.Lindley@ed.ac.uk, Philip.Wadler@ed.ac.uk, Jeremy.Yallop@ed.ac.uk)
JEREMY YALLOP
Affiliation:
University of Edinburgh (e-mail: Sam.Lindley@ed.ac.uk, Philip.Wadler@ed.ac.uk, Jeremy.Yallop@ed.ac.uk)
Rights & Permissions [Opens in a new window]

Abstract

Core share and HTML view are not available for this content. However, as you have access to this content, a full PDF is available via the 'Save PDF' action button.

We introduce the arrow calculus, a metalanguage for manipulating Hughes's arrows with close relations both to Moggi's metalanguage for monads and to Paterson's arrow notation. Arrows are classically defined by extending lambda calculus with three constructs satisfying nine (somewhat idiosyncratic) laws; in contrast, the arrow calculus adds four constructs satisfying five laws (which fit two well-known patterns). The five laws were previously known to be sound; we show that they are also complete, and hence that the five laws may replace the nine.

Information

Type
Articles
Copyright
Copyright © Cambridge University Press 2010
Submit a response

Discussions

No Discussions have been published for this article.