From: David R. <dr...@jd...> - 2003-12-01 13:04:10
|
On Mon, Dec 01, 2003 at 01:32:39PM +0100, Daan Leijen wrote: > Another solution that I am contemplating is the use of reflective > attributes where the constructor would look in the list of attributes to > see if an initial size is specified. This would solve your troubles but > it is kind of unsatifying that this would create a distinction between: > > >f <- frame [attr := expr] > > and > > >f <- frame [] > >set f [attr := expr] > > > Anyhow, I think that I will implement the latter solution anyway, > so your program will work as expected in the next release. This does make the WX layer a bit confusing, but it would bring it closer to the way wxWindows works, which would make things a bit easier for people moving to wxHaskell from wxWindows, so I'm all for it. -- David Roundy http://www.abridgegame.org |