Don't miss an insight. Subscribe to Techopedia for free.

Subscribe
Advertisements

Functional Reactive Programming

What Does Functional Reactive Programming Mean?

Functional reactive programming (FRP) is a programming framework that combines functional and reactive programming techniques to build applications, services and devices. It enables changing the state or operation of the underlying platform dynamically with events and behaviors that change over continuous or discrete time.

Advertisements

Techopedia Explains Functional Reactive Programming

FRP is primarily designed for data sets or types that vary over time. FRP works on two core components or concepts: events and behaviors. Both of them represent values, which, once changed, will return into some action or reaction. For example, the movement of a computer mouse over a continuous period of time is a behavior, where the ever changing location of mouse arrow is its corresponding value. Similarly, the mouse click is an event and the place or quantity of clicks is the base value. FRP enables capturing and using these variables and their values with various applications and services, specifically in interactive computing environments such as animations, robotics, GUI and simulations.

Advertisements

Related Terms