Why not the $ operator? ! looks funny in the places it would be used but $ has a president already.
The only issue would be that Haskell programmers might get confused when they see it. In Haskell the application is right to left, in Smalltalk it is left to right. But not a big problem I would say.
On 8/25/07, Alan Lovejoy squeak-dev.sourcery@forum-mail.net wrote:
Since the selector #'|' is already taken for other purposes, why not use #'!' instead (exclamation point instead of the bar)?
Heh.. you missed another character which can be used for new operator, its a colon ':' But i think its not very good choice, because colon already used to designate a keys in keyword message pattern. And single colon is never used in expressions.
Maybe we should make a vote , which character (or char sequence) is the best? For me, there's no matter how it will look like, its a matter how it works.
On 26/08/07, Jason Johnson jason.johnson.081@gmail.com wrote:
Why not the $ operator? ! looks funny in the places it would be used but $ has a president already.
The only issue would be that Haskell programmers might get confused when they see it. In Haskell the application is right to left, in Smalltalk it is left to right. But not a big problem I would say.
On 8/25/07, Alan Lovejoy squeak-dev.sourcery@forum-mail.net wrote:
Since the selector #'|' is already taken for other purposes, why not use #'!' instead (exclamation point instead of the bar)?
I vote for $
It's only used for single characters otherwise so I don't think it's ambiguous (unless you can use it to specify the space character :( ).
On 8/26/07, Igor Stasenko siguctua@gmail.com wrote:
Heh.. you missed another character which can be used for new operator, its a colon ':' But i think its not very good choice, because colon already used to designate a keys in keyword message pattern. And single colon is never used in expressions.
Maybe we should make a vote , which character (or char sequence) is the best? For me, there's no matter how it will look like, its a matter how it works.
On 26/08/07, Jason Johnson jason.johnson.081@gmail.com wrote:
Why not the $ operator? ! looks funny in the places it would be used but $ has a president already.
The only issue would be that Haskell programmers might get confused when they see it. In Haskell the application is right to left, in Smalltalk it is left to right. But not a big problem I would say.
On 8/25/07, Alan Lovejoy squeak-dev.sourcery@forum-mail.net wrote:
Since the selector #'|' is already taken for other purposes, why not use #'!' instead (exclamation point instead of the bar)?
-- Best regards, Igor Stasenko AKA sig.
-----Original Message----- From: Jason Johnson
I vote for $
It's only used for single characters otherwise so I don't think it's ambiguous (unless you can use it to specify the space character :( ).
Of course you can specify space with $
Ron Teitelbaum
squeak-dev@lists.squeakfoundation.org