Journal entry for
I’ve published a repo implementing FRP from scratch and I’m in the process of writing an accompanying blog post. This implementation doesn’t do any graph traversal optimisations but it is as expressive and lazier than Reflex. I’m now hoping to add GC, graph traversal optimizations, and a GUI library to see how those work.
Concretely the next steps I’m interested in are:
- Cleaning up my implementation some more, solving all TODOs, and fully commenting the code.
- Writing a Todo-MVC version using my FRP implementation and threepenny-gui. This I’m planning to do by first keeping the FRP and GUI separate and then combining the two in a nice API.
I’ve also just realize that instead of Reflex’ “event subscription takes a callback and returns the current known occurrence (if any)” I might be able to have event subscription call the callback immediately? I’m not sure this works out but I’ll give that a try now.