frp neophyte query (franTk specific)

Amit Garg amitji@cs.utexas.edu
Thu, 26 Jul 2001 02:48:41 -0500 (CDT)


Hi.

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.