User loginNavigation 
The Arrow CalculusThe arrow calculus by Sam Lindley, Philip Wadler, & Jeremy Yalloop 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 wellknown 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. I stumbled across this paper while trying to dig a little deeper into Haskell type classes and noticed that no one had mentioned it before. I'm still a novice with the lambda calculus and denotational semantics, but I can appreciate the simplification the paper achieves. It could make correctly implementing the arrow class more intuitive, but do theoretical reductions like this tend to help the compiler do a better job too? By Mike Abolazemi at 20120608 02:47  LtU Forum  previous forum topic  next forum topic  other blogs  3470 reads

Browse archivesActive forum topics 
Recent comments
9 hours 32 min ago
10 hours 47 min ago
10 hours 56 min ago
11 hours 55 min ago
12 hours 14 min ago
14 hours 41 min ago
16 hours 9 min ago
17 hours 44 min ago
19 hours 23 min ago
1 day 5 hours ago