Question: re "The FRP implementation is based on Incremental" - what this means?
Closed this issue · 4 comments
how this library https://github.com/janestreet/incremental is related to https://github.com/reflex-frp/reflex?
in 2015year video Ryan Trinkle said that he would want to publish a specification to reflex-frp ? is this it?
Hi, thanks for the question!
Incremental and Reflex solve similar problems, and are related by having the same basic shape of the API - Incr.t
is a monad similar to Reflex's Dynamic
.
The Specular API was initially inspired by Reflex, though it is quite different now.
The current implementation, however, is based on Incremental (the version presented in Jane Street's videos).
@zyla tnx, I'll try to learn Reflex AND Incremental
TODO:
- post list of methods that have same implementation, but different names
- post list of utility methods that are present in reflex, but not present in specular
P.S. I would gladly hear more from you re topic I you want
P.S. I would gladly hear more from you re topic I you want
@srghma I created a chat room, feel free to join and ask questions: https://gitter.im/purescript-specular/community
@zyla I'll better ask here
why not just port reflex function by function
I mean first
- https://github.com/reflex-frp/reflex
then - https://github.com/reflex-frp/reflex-dom/blob/develop/reflex-dom-core
- https://github.com/reflex-frp/reflex-dom/blob/develop/reflex-dom
rename .hs to .purs and remove parts not related to ghcjs
- this would give ability to easier orient which functions are missing
- would be easier to port optimisations from haskell version to purescript
What Incremental gives which is not present in haskell reflex?