Location of Repository

Idioms are oblivious, arrows are meticulous, monads are promiscuous

By Sam Lindley, Philip Wadler and Jeremy Yallop


We revisit the connection between three notions of computation: Moggi’s monads, Hughes’s arrows and\ud McBride and Paterson’s idioms (also called applicative functors). We show that idioms are equivalent to\ud arrows that satisfy the type isomorphism A;B ' 1;(A ! B) and that monads are equivalent to arrows\ud that satisfy the type isomorphism A;B ' A ! (1;B). Further, idioms embed into arrows and arrows\ud embed into monads

Topics: applicative functors, idioms, arrows, monads
Publisher: Elsevier
Year: 2008
OAI identifier: oai:www.era.lib.ed.ac.uk:1842/3800

Suggested articles



  1. (2001). A new notation for arrows, in: doi
  2. (2008). Applicative programming with effects, doi
  3. (2003). Arrows and computation,
  4. (1998). Categories for the working mathematician,” doi
  5. (1989). Computational lambda-calculus and monads, in: doi
  6. (2000). Generalising monads to arrows, doi
  7. (1991). Notions of computation and monads, doi
  8. (2005). Programming with arrows, in: doi
  9. (1993). Reasoning about programs in continuation-passing style, doi
  10. (2008). The arrow calculus, doi

To submit an update or takedown request for this paper, please submit an Update/Correction/Removal Request.