[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: What?
In article <3D58BA35.F3D3C1B3@lucent.com>,
Gabor Greif <ggreif@lucent.com> wrote:
| In a weak moment I proposed a Haskell-like infix notation for binary
| functions,
| just like the semantical identity
|
| foo(bar) <===> bar.foo
|
| there could be a
|
| instance?(foo, <integer>) <===> foo `instance?` <integer>
|
| syntactical sugar.
|
| I find it well readable at least.
Then there is always the Smalltalk keyword mechanism for n-ary methods:
foo isKindOf: Integer
1 to: 10 by: 2 do: [...]
--
-- Tim Olson
- References:
- What?
- Re: What?
- From: "Jason Trenouth" <jason.trenouth@bigfoot.com>
- Re: What?
- From: Rainer Joswig <joswig@lispmachine.de>
- Re: What?
- From: Andreas Bogk <andreas@andreas.org>
- Re: What?
- From: Bruce Hoult <bruce@hoult.org>
- Re: What?
- From: Rainer Joswig <joswig@lispmachine.de>
- Re: What?
- From: Gabor Greif <ggreif@lucent.com>
- Re: What?
- From: Rainer Joswig <joswig@lispmachine.de>
- Re: What?
- From: Bruce Hoult <bruce@hoult.org>
- Re: What?
- From: Gabor Greif <ggreif@lucent.com>