The prefix symbol
Brian Goetz
brian.goetz at oracle.com
Sat Jun 25 14:13:22 PDT 2011
Add that to the long list of "if we knew then what we know now..."
On 6/25/2011 5:00 PM, Paulo Levi wrote:
> I guess a new language should reserve the mathematical part of the unicode
> set - you never know when we will get holographic keyboards (in fact, i saw
> one a year ago).
>
> Futher complicating the matter is the problem that some of these
>> characters comprise valid identifiers.
>>
>> For example, this appears to be valid Java today:
>>
>> int λ = 1;
>>
>>
>> http://java.sun.com/docs/books/jls/second_edition/html/lexical.doc.html#40625
>>
>> I can't seem to get any of "" in my IDE so I cannot attest to
>> their validity but it stands to reason that they would also qualify.
>>
>> On 06/22/2011 06:02 AM, Osvaldo Pinali Doederlein wrote:
>>> It's a bit late to make Java look like Fortress... unless JDK 8 has a
>>> mandate for an overall review of the lexicon so we can write √(2)
>>> instead of Math.sqrt(2), etc., then -1 to adopt non-ASCII symbols
>>> exceptionally for lambdas.
>>>
>>> A+
>>> Osvaldo
>>>
>>> On 6/22/2011 3:33 AM, Mark Thornton wrote:
>>>> On 21/06/11 22:45, Lawrence Kesteloot wrote:
>>>>> Okay so this is 2011. Can we use the Unicode lambda symbol? Of course
>>>>> also support some digraph, like ,\
>>>> There are in fact no less than 5 small lambda symbols in the Unicode
>>>> character set! One from the Greek set and 4 more from the maths set. For
>>>> pure ASCII entry the obvious choice would be \lambda, while verbose it
>>>> is easy to remember.
>>>>
>>>> Those lambdas: λ
>>>>
>>>> Mark Thornton
>>>>
>>>>
>>>
>>>
>>
>>
>> --
>> - DML
>>
>>
>
More information about the lambda-dev
mailing list