[comp.lang.functional] Event-driven programs in FP

norman@d.cs.okstate.edu (Norman Graham) (03/25/91)

From article <1991Mar22.141414.26226@lgc.com>, by cl@lgc.com (Cameron Laird):
> My daily work for the last few years has involved a lot of
> UI considerations.  In 1991, I've been Xprogramming.  As-
> sume with me that X is a commercial success, but that
> event-driven paradigms are a hurdle for many coders and
> engineers.  How do mature FP thinkers react to this?

IMO, event-driven FP programs should be thought of as a mapping from
E to M, where E is an infinite list of events and M is an infinite list
of messages to the UI-Toolbox/Operating System.

I've not given this a great deal of thought: I'm sure others can provide
better thought out solutions.

--Norm
-- 
Norman Graham

<norman@a.cs.okstate.edu>                 Standard Disclaimer Applies
{cbosgd,rutgers}!okstate!norman