I am still trying to wrap my head around Haskell and FRP. Specifically, I have worked through some examples using reactive-banana package and starting to get FRP.
However, I still don't understand how the event network knows when an input event has occurred. My understanding is that, unlike NodeJS which has an event loop constantly checking for user inputs, FRP utilizes a different framework for "waiting" or "checking" user inputs or external signals.
From my reading, FRP makes time explicit. By coupling time with either an event or behavior, somehow the network always knows when an external stimulus has fired.
I have read many papers by Conal, Hudak, et al. and the explanations are too technical. Please provide less technical explanation.
Thanks for your help.
IO
stuff) to build your basis (see here) – Random DevReactive.Banana.Frameworks
. – Cirdec