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
Khoo Yit Phang, Michael Hicks, Jeffrey S. Foster, and Vibha Sazawal.
University of Maryland, Department of Computer Science. June 2009.
Paper
Presentation
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 (PDF)
Poster
Two-page summary

This material is based upon work supported by the National Science Foundation under Grants No. IIS-0613601, CCF-0430118, CCF-0524036, and CCF-0541036.