### Abstract

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.

Original language | English |
---|---|

Pages (from-to) | 51-69 |

Number of pages | 19 |

Journal | Journal of Functional Programming |

Volume | 20 |

Issue number | 1 |

DOIs | |

Publication status | Published - Jan 2010 |

### ASJC Scopus subject areas

- Software

## Fingerprint Dive into the research topics of 'The arrow calculus'. Together they form a unique fingerprint.

## Cite this

Lindley, S., Wadler, P., & Yallop, J. (2010). The arrow calculus.

*Journal of Functional Programming*,*20*(1), 51-69. https://doi.org/10.1017/S095679680999027X