frp neophyte query (franTk specific)
Fri, 27 Jul 2001 03:00:05 -0500 (CDT)
Hehe ...i figured it out :) Essentially followed the thread of logic
outlined in the 'fix' for the 'remainder' problem by Lars. Thanks!
btw, would it be correct to say that 'fixIO' is used to create unbounded
loops without using run-time recursion? Or that its a way of telling the
compiler not to use the recursive stack ..?
On Thu, 26 Jul 2001, Amit Garg wrote:
> Ive been trying to play with the functional reactive framework provided
> with franTk (i've also seen www.haskell.org/frp). In this context, i
> wanted to create an event stream to drive my programs ... i could not get
> 'toStream time' to work.
> My solution works essentially using this:
> wire <- newWire
> r <- addListener (event wire) (input wire)
> This creates a memory overflow eventually, and i can understand that. I
> also perceive from the earlier discussion that i should somehow be able to
> use fixIO to resolve this ... however a solution escapes me. :(
> Any ideas? Thank you.
> - Amit Garg.
> - Ph.D. student, UT-Austin.
> Haskell mailing list