
Hi Haskellers, I know there are already a lot of FRP libraries out there, but still. This is my take on it. It's a very simple library. There are portable Signals that are basically TVars with some update Notifiers. Then you can combine them using a continuation like monad. Because you have a Monad and not only Applicative it's very intuitive and powerful. Check it out. github: https://github.com/yokto/Updater hackage: https://hackage.haskell.org/package/Updater Be warned though. There are probably still some bugs around, but the basics seem to work and there is an example program. Silvio

Seems to be similar to Transient:
https://www.fpcomplete.com/user/agocorona/monad-reactive-programming-2
2015-07-08 20:54 GMT+02:00 Silvio Frischknecht
Hi Haskellers,
I know there are already a lot of FRP libraries out there, but still. This is my take on it.
It's a very simple library. There are portable Signals that are basically TVars with some update Notifiers. Then you can combine them using a continuation like monad.
Because you have a Monad and not only Applicative it's very intuitive and powerful.
Check it out.
github: https://github.com/yokto/Updater hackage: https://hackage.haskell.org/package/Updater
Be warned though. There are probably still some bugs around, but the basics seem to work and there is an example program.
Silvio _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe
-- Alberto.

Seems to be similar to Transient:
https://www.fpcomplete.com/user/agocorona/monad-reactive-programming-2
Yeah I found that too once I had started programming. The idea seems pretty similar. I think they have their signals in a lookup table and my signals are TVars. I don't think they have a package on hackage. What is really cool about my version is that because of the nature of STM you can share signals anyway you want. The creation and use of them are completely independent. Of course you could achieve the same with a global lock. Silvio

In my case I use transient for a different purpose. It is not intended for
FRP specifically. The link is about a preliminary version. Now signals are
generated by IO computations (that may wait for some input, for example,
from the keyboard, a file download completion, a TVar update etc).
2015-07-08 21:30 GMT+02:00 Silvio Frischknecht
sed -e "s_they_you"
I see you're the same person :)
Silvio _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe
-- Alberto.
participants (2)
-
Alberto G. Corona
-
Silvio Frischknecht