Turkish 'I's can't D either

Ameer Armaly ameer.armaly at furman.edu
Thu Sep 3 08:04:15 PDT 2009


"Daniel Keep" <daniel.keep.lists at gmail.com> wrote in message 
news:h70aup$cjn$1 at digitalmars.com...
>
>One thing I think the typesystem should be used more for is attaching
> more semantic information to data.  So maybe the solution is to
> introduce something like a Text type that also stores the language of
> the text.  Then the library methods WILL have the right context to know
> how to act.
>
> Just a thought.

If I'm understanding you correctly, then the hash function would treat 
Turkish i's the same as any other letter i, because the focus is on internal 
processing, but writef and friends would make the distinction because the 
text is meant to be read.
Am I right?

Ameer 





More information about the Digitalmars-d mailing list