[Pharo-users] Use of -> in Pharo Code

2016-11-30 Thread Bruce Prior
Thanks for the explanation, Sebastian. It led me to look into associations and dictionaries, which led me to page 190 in /Pharo By Example/. The character, ->, is there used in examples. It is described as a message (I assume a binary message). I found -> also in the index under Object. Thanks

Re: [Pharo-users] Use of -> in Pharo Code

2016-11-30 Thread Ben Coman
On Thu, Dec 1, 2016 at 8:12 AM, Bruce Prior wrote: > don't understand what the right-arrow (->) does. hi Bruce, Its a message. Select it and hit to view its implementation. cheers -ben

Re: [Pharo-users] Use of -> in Pharo Code

2016-11-30 Thread Sebastian Heidbrink via Pharo-users
--- Begin Message --- Hi Bruce, in hsort again ;-) This was your code: Teapot on GET: '/welcome' -> 'Hello World!'; start. Imagine it this way with brackets: Teapot on GET: ('/welcome' -> 'Hello World!'); start. This is the same as writing: Teapot on GET: ( Associtation key: '/welcome' valu

Re: [Pharo-users] Use of -> in Pharo Code

2016-11-30 Thread Bruce Prior
Hi Stef, Thanks for the welcome back. I always have fun with Smalltalk in the Winter but each year Summer seems to get in the way. I appreciate your reminiscences, but I still don't understand what the right aero (->) does. Bruce On 2016-11-30 12:21 PM, stepharo wrote: Hi bruce welcome

Re: [Pharo-users] Use of -> in Pharo Code

2016-11-30 Thread stepharo
Hi bruce welcome and I hope that you have fun. What I noticed is that we get used really fast to supercool tools. Last year I had to work on a VW 2.5 version and I thought someone had cut my hands. I ws so slow with senders and implementors and rudimentary inspectors :) Stef I have been a

Re: [Pharo-users] Use of -> in Pharo Code

2016-11-30 Thread David T. Lewis
On Tue, Nov 29, 2016 at 09:25:18PM -0800, Martin McClure wrote: > On 11/29/2016 06:48 PM, Bruce Prior wrote: > >I have been away from smalltalk coding for a while. On returning to > >the fold, I often see the use of a right arrow in code. Is this > >something new? > > > >Today in a Teapot app exa

Re: [Pharo-users] Use of -> in Pharo Code

2016-11-29 Thread p...@highoctane.be
Would be nice to have a video with that. Phil On Wed, Nov 30, 2016 at 6:25 AM, Martin McClure wrote: > On 11/29/2016 06:48 PM, Bruce Prior wrote: > > I have been away from smalltalk coding for a while. On returning to the > fold, I often see the use of a right arrow in code. Is this something n

Re: [Pharo-users] Use of -> in Pharo Code

2016-11-29 Thread Martin McClure
On 11/29/2016 06:48 PM, Bruce Prior wrote: I have been away from smalltalk coding for a while. On returning to the fold, I often see the use of a right arrow in code. Is this something new? Today in a Teapot app example, I saw, Teapot on GET: '/welcome' -> 'Hello World!'; start. What is the

Re: [Pharo-users] Use of -> in Pharo Code

2016-11-29 Thread Sebastian Heidbrink via Pharo-users
--- Begin Message --- Hi Bruce, good to see you around, again! The arrow is an Association in short... Sebastian Am 29.11.2016 um 18:48 schrieb Bruce Prior: I have been away from smalltalk coding for a while. On returning to the fold, I often see the use of a right arrow in code. Is this so

[Pharo-users] Use of -> in Pharo Code

2016-11-29 Thread Bruce Prior
I have been away from smalltalk coding for a while. On returning to the fold, I often see the use of a right arrow in code. Is this something new? Today in a Teapot app example, I saw, Teapot on GET: '/welcome' -> 'Hello World!'; start. What is the arrow for?