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.
[As of Dec 2014, the blog post is no longer active.]
People
Papers
- Directing JavaScript with Arrows
- University of Maryland, Department of Computer Science. June 2009.
- Paper†
- Presentation
- † © ACM, 2009. This is the author's version of the work. It is posted here by permission of ACM for your personal use. Not for redistribution. This is a minor revision of the work published in Proceedings of the 5th Symposium on Dynamic Languages, http://doi.acm.org/10.1145/1640134.1640143
- Directing JavaScript with Arrows (Functional Pearl)
- 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.