[erlang-questions] A proposal for Unicode variable and atom names in Erlang.
Yurii Rashkovskii
yrashk@REDACTED
Mon Oct 22 09:21:21 CEST 2012
Michael,
Thanks — will look into this. We only spent one day on this so covered
only a small territory to validate the approach.
On Mon, Oct 22, 2012 at 12:19 AM, Michael Uvarov <freeakk@REDACTED> wrote:
> It is yet another implementation without SpecialCasing.
> Here is a right algorithm.
> http://www.unicode.org/reports/tr21/tr21-5.html
>
> On Mon, Oct 22, 2012 at 11:10 AM, Yurii Rashkovskii <yrashk@REDACTED> wrote:
>> Rapsey,
>>
>> Couldn't agree more. There are so many other more important issues that
>> could have been addressed by the OTP team and contributors.
>>
>> By the way, we just go this (lower and upper) implemented in Elixir, but it
>> could be very well separated out of Elixir to be used by plain Erlang
>> developers: http://coderwall.com/p/pehkba
>>
>> It compiles the necessary part of the unicode database right into the beam
>> file, making it fairly efficient. Also, pending merge, I have a patch that
>> makes upcase and downcase work with graphemes as opposed to codepoints
>> (https://github.com/elixir-lang/elixir/pull/566), which we hopefully will
>> merge in shortly.
More information about the erlang-questions
mailing list