| To: | scsh@martigny.ai.mit.edu |
|---|---|
| Subject: | Re: Ousterhout and Tcl lost the plot with latest paper |
| From: | fjh@mundook.cs.mu.OZ.AU (Fergus Henderson) |
| Date: | 7 Apr 1997 03:47:21 GMT |
| Organization: | Comp Sci, University of Melbourne |
winikoff@mundook.cs.mu.OZ.AU (Michael David WINIKOFF) gives us an example using TkGofer: >ex_button :: IO () >ex_button = start $ > do w <- window [title "My Example2"] > l <- label [text "hello world", background "yellow"] w > b <- button [text "press me", command quit] w > pack (l << b) I'm pretty sure that that example is more verbose than it needs to be. The type declaration in the first line is optional -- Gofer will infer it if you leave it out. -- Fergus Henderson <fjh@cs.mu.oz.au> | "I have always known that the pursuit WWW: <http://www.cs.mu.oz.au/~fjh> | of excellence is a lethal habit" PGP: finger fjh@128.250.37.3 | -- the last words of T. S. Garp. |
| Previous by Date: | Re: TCL & interface definitions (was Re: Ousterhout and Tcl lost the plot with latest paper), Hume Smith |
|---|---|
| Next by Date: | Re: TCL & interface definitions (was Re: Ousterhout and Tcl lost the plot with latest paper), Cameron Laird |
| Previous by Thread: | Re: Ousterhout and Tcl lost the plot with latest paper, Michael David WINIKOFF |
| Next by Thread: | Re: Ousterhout and Tcl lost the plot with latest paper, Cameron Laird |
| Indexes: | [Date] [Thread] [Top] [All Lists] |