Functional Reactive Programming (FRP) supports the declarative construction of reactive systems through signals, or time-varying values. In this paper, we present a new language called FrTime, which provides FRP-style signals atop a dialect of Scheme. We introduce the language with a few examples and discuss its implementation. Unlike previous FRP systems, FrTime uses impure features, such as state and asynchronous communication, to model time and to control evaluation. The use of such features yields a scalable, event-driven implementation with several important advantages. Specifically, it eases integration with other systems, supports distribution of signals across a network, and permits various benign impurities. To illustrate the language's expressive power, we present a concise implementation of a networked paddle-ball game in FrTime.
CITATION STYLE
Cooper, G., & Krishnamurthi, S. (2004). FrTime: Functional reactive programming in PLT Scheme. Computer Science Technical Report. Brown University. …. Retrieved from http://scholar.google.com/scholar?hl=en&btnG=Search&q=intitle:FrTime:+Functional+Reactive+Programming+in+PLT+Scheme#0
Mendeley helps you to discover research relevant for your work.