Phobos uni methods

Lodovico Giaretta via Digitalmars-d digitalmars-d at puremagic.com
Mon Aug 22 03:48:14 PDT 2016


On Monday, 22 August 2016 at 10:26:35 UTC, Cauterite wrote:
> On Monday, 22 August 2016 at 07:58:50 UTC, Andrew wrote:
>>
>
> Note that changing isAlpha() can potentially break any D code 
> with unicode in its identifiers, because the DMD frontend uses 
> isAlpha() to determine which characters are allowed in 
> identifiers.

Well, the Unicode consortium is famous for having backward 
compatibility as a priority (in fact the Unicode standard has 
many strange things that are conceptually wrong but are needed to 
maintain compatibility).

So, updating the std.uni methods should not break anything, but 
at most allow more inputs to be accepted. So I think that the 
possibility of updating std.uni should be taken into account and 
further investigated, to see if it's doable.

By the way, the core team is very busy so if Andrew (the OP) 
wants to make a PR himself, it would be welcome.


More information about the Digitalmars-d mailing list