Skip to content

Instantly share code, notes, and snippets.

View IvanRainbolt's full-sized avatar

Ivan Rainbolt IvanRainbolt

View GitHub Profile
@IvanRainbolt
IvanRainbolt / todo-app.js
Created June 15, 2020 19:55 — forked from ivenmarquardt/todo-app.js
Functional Reactive Programming (FRP) implemented with a couple rules, types and combinators
// Based on this blog post: https://medium.com/@iquardt/taming-the-dom-50c8f1a6e892
/* RULES
* Only the program may manipulate the output display, never the user
* User input is presented in the form of events
* GUI elements generate events only in response to user input, never in response to program output
*/