
Nathan Hüsken wrote:
I am currently informing myself about FRP. Looking at the Elerea paper (http://sgate.emt.bme.hu/documents/patai/publications/PataiWFLP2010.pdf) I read that it is ghc specific because of mutable references. I am trying to use the js backend of uhc and that does not support this. I have tried to use other FRP libraries with uhc (by compiling a file which does nothing but import the library) and all failed because of something missing in Control.Concurrent.
So I am wondering: Is it a property FRP that it needs something like mutable references for an efficient implementation. Is there a FRP library that can be used (or can be changed so that it can be used) with uhc and its js backend?
I think that my reactive-banana library can be adapted to work on UHC. I will look into this. See issue https://github.com/HeinrichApfelmus/reactive-banana/issues/30 However, I would be very surprised if UHC doesn't have mutable variables, the reason is likely a GHC specific extension. Are you sure that UHC doesn't support IORef or MVar? Best regards, Heinrich Apfelmus -- http://apfelmus.nfshost.com