On 10-03-2016 04:33, amin...@gmail.com wrote: > If you're like me and have been fascinated by FRP but haven't able to > work static FRP graphs into a livecoded performance, there's a new > (quite experimental) game in town: > > hackage.haskell.org/package/midair > > The key thing it adds to FRP is the ability to redefine parts or all > of the signal graph while the graph is running, and in some cases to > preserve the current state even after hot-swapping. > > There's a small example of it working in the package. > > Comments/suggestions welcome! > > Tom >
Very interesting. I'm quite interested in FRP too, for music. I've also come to the conclusiong that hot swapping is very much needed for using FRP for music. I have hot swap working on my SuperCollider FRP implementation (https://github.com/miguel-negrao/FPLib/tree/master/Classes/EventStream) but it doesn't preserve state at the moment, which makes it not so usefull. I worked on a prototype of state preservation, where I walked the FRP graph checking that all the nodes are the same type and then applying the values from the previous graph, but I never finished it. Best, Miguel -- Read the whole topic here: Haskell Art: http://lurk.org/r/topic/AZ6j2JTRpQm0RmoQ2XIZi To leave Haskell Art, email haskell-...@group.lurk.org with the following email subject: unsubscribe