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

Bulat Ziganshin bulat.ziganshin at gmail.com
Thu Aug 9 01:30:04 EDT 2007


Hello Peter,

Wednesday, August 8, 2007, 11:14:37 PM, you wrote:

> To me, having an imperative background, a graphical application is
> just a big tree of data that evolves when events from the OS come
> in. (this data is NOT per se the data for the GUI element; instead
> use the model-view-controller design pattern) In Haskell, instead of
> mutating the data (as done in C/C++), a infinite stream of this
> tree-data is generated responding to an infinite steam of events, as
> in Paul's SOE book (the reactive stuff). Since most of the data can
> be shared, the performance impact should be minimal.

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

seems that such program will have no effects :)

-- 
Best regards,
 Bulat                            mailto:Bulat.Ziganshin at gmail.com



More information about the Haskell-Cafe mailing list