haskell-cafe@haskell.org
[Top] [All Lists]

Re: Re[2]: [Haskell-cafe] Pure functional GUI (was "a regressive view of

Subject: Re: Re[2]: [Haskell-cafe] Pure functional GUI was "a regressive view of support for imperativeprogramming in Haskell"
From: "Conal Elliott"
Date: Fri, 10 Aug 2007 13:31:28 -0700
> On 8/8/07, Bulat Ziganshin <bulat.ziganshin@xxxxxxxxx> wrote:
> Hello Peter,
> Wednesday, August 8, 2007, 11:14:37 PM, you wrote:

> > [...] So could you please tell me more about the problem with pure
> > functional GUIs

> seems that such program will have no effects :)

Not necessarily.  Just design the UI & IO aspects orthogonally.  For instance, in the applicative functor version of Phooey ( http://haskell.org/haskellwiki/Phooey#Applicative_Functor), you can define a value of type UI (a -> IO ()).  Similarly for TV ( http://haskell.org/haskellwiki/TV).

   - Conal
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@xxxxxxxxxxx
http://www.haskell.org/mailman/listinfo/haskell-cafe
<Prev in Thread] Current Thread [Next in Thread>