[Haskell-cafe] Pure functional GUI (was "a regressive view of support for imperativeprogramming in Haskell")

Conal Elliott conal at conal.net
Fri Aug 10 16:31:28 EDT 2007


> On 8/8/07, Bulat Ziganshin <bulat.ziganshin at gmail.com> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/haskell-cafe/attachments/20070810/73706ef0/attachment.htm


More information about the Haskell-Cafe mailing list