Skip to content

A glitch is defined as a visible output that isn’t consistent with the relationships defined by the FRP code.

License

Notifications You must be signed in to change notification settings

huanhulan/glitch

Repository files navigation

glitch

A glitch is defined as a visible output that isn’t consistent with the relationships defined by the FRP code. To demonstrate a glitch, you need simultaneous events.

Suppose you have two simultaneous events—ones and hundreds. You’ll feed the numbers 1 and 2 into ones. hundreds is ones multiplied by 100, and sum is the sum of ones and hundreds. In a perfect, glitch-free world picture below shows what you would like to see visible in sum.

If you code this in RxJS and then load it in the browser, you get these alerts:

  • 101
  • 102
  • 202

-- Stephen Blackheath in Functional Reactive Programming

About

A glitch is defined as a visible output that isn’t consistent with the relationships defined by the FRP code.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published