Elm (programming language): Difference between revisions

Content deleted Content added
No edit summary
Add citations for Event-Driven FRP and Arrowized FRP
Line 20:
== Syntax and Semantics ==
 
Elm's version of [http://en.wikipedia.org/wiki/Functional_reactive_programming Functional Reactive Programming] is event-driven, meaning that updates are only performed as necessary. It shares the closest resemblance to Event-Driven FRP and<ref>{{cite Arrowized FRP.journal
| last1 = Wan | first1 = Zhanyong
| last2 = Taha | first2 = Walid
| last3 = Hudak | first3 = Paul
| author3-link = Paul Hudak
| title = Event-Driven FRP
| journal = Proceedings of the 4th International Symposium on Practical Aspects of Declarative Languages
| pages = 155-172
| date = 2002 }}</ref> and Arrowized FRP <ref>{{cite doi|10.1145/581690.581695}}</ref>.
 
The following program displays the position of the mouse as it moves around the screen, automatically updating the screen in real-time.