Skip to content
Bartosz edited this page Aug 24, 2016 · 10 revisions

Does Reflex work with Haste?

Not at this time. Reflex does not currently work with Haste because Haste does not support weak references which are crucial to implementing the reflex FRP semantics efficiently.

References:

https://github.com/reflex-frp/reflex-dom/issues/86#issuecomment-241418181

Why doesn't Dynamic have Functor/Applicative/Monad instances

Reflex is scheduled to get these instances in version 0.5. As of this writing the implementation is mostly complete and is undergoing final polish and testing before release and is currently available on github in reflex's develop branch.

Can I use stack to build the Reflex/Reflex DOM application?

It is possible, but it's a bit of folklore at this moment. There are some examples out there, most notably:

https://github.com/tolysz/reflex-todomvc/ https://github.com/yamafaktory/reflex-starter

However, there might be issues preventing build from succeeding, in this case it's worth investigating the node version installed: https://github.com/commercialhaskell/stack/issues/2495 https://github.com/commercialhaskell/stack/issues/1632

Clone this wiki locally