On Wed, 13 Dec 2006 09:53:20 -0800, you wrote: >As for doing push in a functional approach, do you mean under the hood, >or somehow a visible push model? Phooey does push under the hood, but >hides it from the user. I don't know what a functional, visible push >model would look like.
I meant visible. In the absence of hardware interrupts or the like, you still have to have some kind of "prime mover" to get the ball rolling; that could be a simple polling loop or whatever. In effect, it would invoke a function on each input widget in turn, and the consequences of those function invocations would ripple through the system (and eventually to the output widgets). Of course, it would likely be "functional" in name only, as I suspect that there would rarely be occasion to use functions whose return type is anything other than IO (). Steve Schafer Fenestra Technologies Corp. http://www.fenestra.com/ _______________________________________________ Haskell mailing list Haskell@haskell.org http://www.haskell.org/mailman/listinfo/haskell