Re: [Pharo-dev] About Fraction and parentheses

2016-12-20 Thread stepharong
On Tue, 20 Dec 2016 09:24:57 +0100, Sven Van Caekenberghe wrote: Ah, OK, sorry about the misunderstanding. you are welcome :) Now I do not get why there would be ((1/3)) I have to check On 20 Dec 2016, at 09:21, Stephane Ducasse wrote: I think

Re: [Pharo-dev] About Fraction and parentheses

2016-12-20 Thread Sven Van Caekenberghe
Ah, OK, sorry about the misunderstanding. > On 20 Dec 2016, at 09:21, Stephane Ducasse wrote: > > I think that I know that :) > And this is why I mentioned that if you print 1/3 it prints (1/3) so that we > can continue typing + (2/3) > > On Mon, Dec 19, 2016 at 11:02

Re: [Pharo-dev] About Fraction and parentheses

2016-12-20 Thread Stephane Ducasse
I think that I know that :) And this is why I mentioned that if you print 1/3 it prints (1/3) so that we can continue typing + (2/3) On Mon, Dec 19, 2016 at 11:02 PM, Sven Van Caekenberghe wrote: > > > On 19 Dec 2016, at 22:00, Stephane Ducasse > wrote: >

Re: [Pharo-dev] About Fraction and parentheses

2016-12-19 Thread Sven Van Caekenberghe
> On 19 Dec 2016, at 22:00, Stephane Ducasse wrote: > > Hi serge > > the printing should be normal because like that you are ready to type > 1/3 + 2/3 and get 1. No, not at all: 1/3 + 2/3 "(7/9)" These are all just binary messages evaluated left to right, like

Re: [Pharo-dev] About Fraction and parentheses

2016-12-19 Thread Stephane Ducasse
Hi serge the printing should be normal because like that you are ready to type 1/3 + 2/3 and get 1. Now I do not get why you get ((1/2)) thanks for reporting it. Stef On Mon, Dec 19, 2016 at 9:08 AM, Serge Stinckwich < serge.stinckw...@gmail.com> wrote: > I have one question about Fraction. >

[Pharo-dev] About Fraction and parentheses

2016-12-19 Thread Serge Stinckwich
I have one question about Fraction. When I print a fraction like 1/2 in the Playground I obtain (1/2) and when I inspect I obtain ((1/2)). Why do we need all these parentheses ? I didn't try with a current Pharo 6.0 image, because my bandwidth is quite limited right now (Vietnam). -- Serge