The prefix symbol
John Nilsson
john at milsson.nu
Wed Jun 22 07:11:12 PDT 2011
O
Sent from my phone
Den 22 jun 2011 14:54 skrev "Stephen Colebourne" <scolebourne at joda.org>:
> Prefix character summary after 2 days:
> PLEASE DON'T TRY TO VOTE ON YOUR FAVOURITE
>
> Use #
> #(x) { return x + 1; }
> #{x -> x + 1}
>
> Use ^
> ^(x) { return x + 1; }
> ^{x -> x + 1}
>
> Use \ (from another thread)
> \(x) { return x + 1; }
> \{x -> x + 1}
>
> Use $ (concern over parsability, as it is part of an identifier)
> $(x) { return x + 1; }
> ${x -> x + 1}
>
> Use _ (concern over parsability, as it is part of an identifier)
> _(x) { return x + 1; }
> _{x -> x + 1}
>
> Use @
> @(x) { return x + 1; }
> @{x -> x + 1}
>
> Use λ (concern over being unicode)
> λ(x) { return x + 1; }
> λ{x -> x + 1}
>
> Use :
> :(x) { return x + 1; }
> :{x -> x + 1}
>
> Use ::
> ::(x) { return x + 1; }
> ::{x -> x + 1}
>
> (I'm not listing keywords that have been suggested elsewhere)
>
> Issues around typing the various characters on different keyboards
> have been raised.
>
> Some options would permit use as an alternate method reference syntax
character.
>
> *** Final call ***, does anyone have a character they prefer more than
> one of the those above that they want to be considered?
> Remember, this isn't a vote, or a discussion thread, but a "gathering
> the options" thread.
> PLEASE DON'T TRY TO VOTE ON YOUR FAVOURITE
>
> Stephen
>
>
>
> On 21 June 2011 10:35, Stephen Colebourne <scolebourne at joda.org> wrote:
>> Prefix character summary after 15 hours:
>>
>> Use a #
>> #(x) { return x + 1; }
>> #{x -> x + 1}
>>
>> Use a ^
>> ^(x) { return x + 1; }
>> ^{x -> x + 1}
>>
>> Use a \ (from another thread)
>> \(x) { return x + 1; }
>> \{x -> x + 1}
>>
>> (I'm not listing keywords that have been suggested elsewhere)
>>
>> Issues around typing the various characters on different keyboards
>> have been raised.
>>
>> Once again, does anyone have a character they prefer more than one of
>> the three above that they want to be considered? Remember, this isn't
>> a vote, or a discussion thread, but a "gathering the options" thread.
>>
>> Stephen
>>
>>
>> On 20 June 2011 18:54, Stephen Colebourne <scolebourne at joda.org> wrote:
>>> The four syntax families split into two types, those with a prefix
>>> symbol and those without.
>>>
>>> The prefix symbol is commonly mentioned as #:
>>>
>>> #(x) { return x + 1; }
>>> #{x -> x + 1}
>>>
>>>
>>> *** If you have a strong desire to see any symbol other than #
>>> considered then please respond to this thread. ***
>>>
>>> - Your reply MUST specify the symbol
>>> - Your reply MUST give a brief justification
>>> - Your reply MUST repeat the two examples above using your preferred
symbol
>>> - You SHOULD try to ensure that your alternate symbol choice would
>>> parse acceptably
>>> - You MAY reply to suggest a keyword, however you should expect that
>>> to be rejected
>>>
>>> Thread rules:
>>> - Only reply if you prefer your alternate symbol to #
>>> - To discuss something, change the thread title
>>> - Don't reply just to say "I don't want a prefix symbol"
>>> - Responding with a symbol suggestion doesn't preclude your first
>>> choice actually being "no prefix symbol"
>>>
>>> For example, my preferred choice of prefix symbol is #, thus I should
>>> not respond to this thread!
>>>
>>> Stephen
>>> (this is an experiment to see if we can focus on one particular
>>> discussion element at a time)
>>>
>>
>
More information about the lambda-dev
mailing list