Re: [Pharo-dev] self foo: (var := …) vs var := …. self foo: var

2013-09-02 Thread Luc Fabresse
2013/9/2 Stéphane Ducasse stephane.duca...@inria.fr 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

Re: [Pharo-dev] self foo: (var := …) vs var := …. self foo: var

2013-09-02 Thread Igor Stasenko
On 2 September 2013 14:32, Luc Fabresse luc.fabre...@gmail.com wrote: 2013/9/2 Stéphane Ducasse stephane.duca...@inria.fr 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

[Pharo-dev] self foo: (var := …) vs var := …. self foo: var

2013-09-01 Thread Alexandre Bergel
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 :

Re: [Pharo-dev] self foo: (var := …) vs var := …. self foo: var

2013-09-01 Thread Camillo Bruni
this is a VM problem, Use the latest (unstable) vm from here: http://files.pharo.org/vm/pharo/ Esteban updated the VM On 2013-09-01, at 15:02, Alexandre Bergel alexandre.ber...@me.com wrote: Hi! I am facing a strange situation: The following expression raises an error:

Re: [Pharo-dev] self foo: (var := …) vs var := …. self foo: var

2013-09-01 Thread Alexandre Bergel
Ok, thanks! Alexandre On Sep 1, 2013, at 10:01 AM, Camillo Bruni camillobr...@gmail.com wrote: this is a VM problem, Use the latest (unstable) vm from here: http://files.pharo.org/vm/pharo/ Esteban updated the VM On 2013-09-01, at 15:02, Alexandre Bergel alexandre.ber...@me.com

Re: [Pharo-dev] self foo: (var := …) vs var := …. self foo: var

2013-09-01 Thread Tudor Girba
As far as I know, it was the same problem that induced the Metacello loading problem related with SmallInteger. Doru On Sep 1, 2013, at 5:37 PM, Alexandre Bergel alexandre.ber...@me.com wrote: Ok, thanks! Alexandre On Sep 1, 2013, at 10:01 AM, Camillo Bruni camillobr...@gmail.com

Re: [Pharo-dev] self foo: (var := …) vs var := …. self foo: var

2013-09-01 Thread Stéphane Ducasse
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. Stef On Sep 1, 2013, at 3:02 PM, Alexandre Bergel alexandre.ber...@me.com wrote: Hi! I am facing a strange situation: The following expression