From: Mauricio <bri...@ya...> - 2008-09-11 22:32:48
|
Hi, I was wondering if it could be possible to set a list of attributes to an object at the same expression of its creation. Something like this: widget <- newMyWidget >>= ( `set` [attr1:=x,attr2:=y] ) Of course, that code doesn't work, but is it possible to do something like that? Thanks, Maurício |