2013/9/2 Stéphane Ducasse <[email protected]> > Alex > > from a style point of view I found really ugly to use the side effect > value. > I tend to think that they return #undefined as in Scheme. >
yes but it would be nice if := were a message send and in that case it would make sense to write it like that. Luc > Stef > > On Sep 1, 2013, at 3:02 PM, Alexandre Bergel <[email protected]> > wrote: > > > Hi! > > > > I am facing a strange situation: > > > > The following expression raises an error: > > -=-=-=-=-=-=-=-=-= > > rawView add: (helpLabel := (ROElement on: 'Click here!') + ROLabel). > > -=-=-=-=-=-=-=-=-= > > > > Apparently, what is sent as argument to #add: is an integer. > > > > I have to update my code with : > > -=-=-=-=-=-=-=-=-= > > (helpLabel := (ROElement on: 'Click here!') + ROLabel). > > rawView add: helpLabel. > > -=-=-=-=-=-=-=-=-= > > > > To not have an error. > > > > This is really strange! By the way, this looks like the issue with > Metacello? > > > > Alexandre > > > > -- > > _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: > > Alexandre Bergel http://www.bergel.eu > > ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. > > > > > > > > > > >
