Arrowlets

Introduction

Arrowlets is a JavaScript library that uses the concept of arrows to make the task of composing event-handlers easy. Event handlers are written as normal functions, as you would today, and Arrowlets provide flexible combinators to easily compose sequence of events, animation, asynchronous network access, and making long-running computations while keeping the UI responsive.

For a tutorial, Chris Eidhof has written a blog post showing how to build a simple paddle-ball game using Arrowlets.

People

Papers

Directing JavaScript with Arrows (Functional Pearl)
Khoo Yit Phang, Michael Hicks, Jeffrey S. Foster, and Vibha Sazawal.
University of Maryland, Department of Computer Science. August 2008.
Technical Report CS-TR-4923
Two-page summary

This material is based upon work supported by the National Science Foundation under Grant No. IIS-0613601 "SoD-HCER: Evaluation of Complex Designs--–A Comparative Study"; and CCF-0541036 "Scalable, Precise, and Effective Analyses for Detecting Race Conditions". Any opinions, findings and conclusions or recommendations expressed in this material are those of the author(s) and do not necessarily reflect the views of the National Science Foundation (NSF).