> On 8/8/07, Bulat Ziganshin <bulat.ziganshin@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