Re: advice wanted on GUI design patterns

1999-10-03 Thread Adrian Hey
On Sat 02 Oct, John Atwood wrote: Adrian Hey wrote: I have none, but I think you need concurrency to do it properly, Cardelli Pike claim otherwise with their Squeak language. It compiles concurrent UI channels into sequential C. The Paper's on Cardelli's home page. In Haskell, one might

Re: advice wanted on GUI design patterns

1999-10-01 Thread John Atwood
On Mon 27 Sep, Havoc Pennington wrote: I'm trying to learn Haskell, and I'm wondering what experiences people have with designing programs with graphical user interfaces. Adrian Hey wrote: I have none, but I think you need concurrency to do it properly, Cardelli Pike claim otherwise

RE: advice wanted on GUI design patterns

1999-10-01 Thread Frank A. Christoph
I found this bold statement from their top page amusing: If you want to build robust, scalable, complex _and yet exciting_ software then you need to use pure object-oriented programming techniques. [emphasis mine] Personally, I am a strong advocate of dynamic, rather than

Re: advice wanted on GUI design patterns

1999-09-30 Thread Andy Bower
IL PROTECTED]; Frank A. Christoph [EMAIL PROTECTED] Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: 29 September 1999 12:53 Subject: RE: advice wanted on GUI design patterns Just before everyone starts writing MVC (model-view-controller) GUIs, you should be aware that there is a later development

Re: advice wanted on GUI design patterns

1999-09-29 Thread Manuel M. T. Chakravarty
Havoc Pennington [EMAIL PROTECTED] wrote, On Mon, 27 Sep 1999, Antony Courtney wrote: First, it is possible to write applications in Haskell using event loops and mutable state. Most of the simple toolkit bindings (such as TclHaskell, which is really a binding to Tk) do this. Is it

Re: advice wanted on GUI design patterns

1999-09-29 Thread Johan Nordlander
Havoc Pennington wrote: On Mon, 27 Sep 1999, Antony Courtney wrote: First, it is possible to write applications in Haskell using event loops and mutable state. Most of the simple toolkit bindings (such as TclHaskell, which is really a binding to Tk) do this. Is it possible to do

Re: advice wanted on GUI design patterns

1999-09-29 Thread Rob MacAulay
Josef Sveningsson wrote: On Mon, 27 Sep 1999, Havoc Pennington wrote: The question is: how do you structure a GUI program? There is one paper I can recommend that tries to answer this question; "Structuring Graphical Paradigms in TkGofer". It can be found here:

Re: advice wanted on GUI design patterns

1999-09-28 Thread Sven Panne
Antony Courtney wrote: Havoc Pennington wrote: [...] It seems to me that the event-driven model requires "keeping your data" ina way that Haskell does not provide for, because you need to access "the same" data structure in all your event handlers over time, yet there is no way to

Re: advice wanted on GUI design patterns

1999-09-28 Thread Josef Sveningsson
On Mon, 27 Sep 1999, Havoc Pennington wrote: The question is: how do you structure a GUI program? There is one paper I can recommend that tries to answer this question; "Structuring Graphical Paradigms in TkGofer". It can be found here: http://www.cs.chalmers.se/~koen/Papers/tkgofer.ps The

Re: advice wanted on GUI design patterns

1999-09-28 Thread Havoc Pennington
On Tue, 28 Sep 1999, Manuel M. T. Chakravarty wrote: [very helpful explanation cut, thanks Manuel] There is absolutely no reason why a Haggis-like or FranTk-like framework couldn't be build on top of Gtk+HS. (In fact, there is somebody working on a Haggis-clone for Gtk+HS.) From the

Re: advice wanted on GUI design patterns

1999-09-28 Thread Adrian Hey
On Mon 27 Sep, Havoc Pennington wrote: Hi, I'm trying to learn Haskell, and I'm wondering what experiences people have with designing programs with graphical user interfaces. I have none, but I think you need concurrency to do it properly, so perhaps consider looking at Concurrent Haskell

advice wanted on GUI design patterns

1999-09-27 Thread Havoc Pennington
Hi, I'm trying to learn Haskell, and I'm wondering what experiences people have with designing programs with graphical user interfaces. Assume for the moment that a GUI implies an object-oriented existing library such as GTK+ or Tk or whatever Windows uses, since this is probably the only

Re: advice wanted on GUI design patterns

1999-09-27 Thread Antony Courtney
Hi Havoc, Havoc Pennington wrote: [...] The question is: how do you structure a GUI program? The traditional OO program structure is the model-view architecture; [...] Clearly this will not fly in Haskell. So my previous experience does not map to writing a Haskell app. There are a

Re: advice wanted on GUI design patterns

1999-09-27 Thread Michael Hobbs
Unfortunately, there doesn't seem to be a huge amount of work in integrating Haskell with GUIs, relatively speaking. Perhaps one of the most recent work in this arena is Haggis. (http://www.dcs.gla.ac.uk/fp/software/haggis/) If I remember my Haggis correctly, what you would probably do in this

Re: advice wanted on GUI design patterns

1999-09-27 Thread Antony Courtney
This is a multi-part message in MIME format. --CC6BE9D09E68F38B026006D9 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Havoc Pennington wrote: On Mon, 27 Sep 1999, Antony Courtney wrote: First, it is possible to write applications in Haskell using