What Happend To Tango Graphic's Package

Don Clugston dac at nospam.com.au
Mon Sep 24 23:51:04 PDT 2007


Christopher Wright wrote:
> Janice Caron wrote:
>> On 9/24/07, Chad J <gamerChad at _spamisbad_gmail.com> wrote:
>>> I hope polysemous types come out and solve this mess.
>>
>> What does "polysemous type" mean? What are polysemous types?

For example, the literal number 1. Could be a short, int, uint, float, complex 
number,...
Strict typing forces us to assign a type to it, but actually they're all the same.

> 
> A variable that can have several types depending on how it is assigned 
> or casted is polysemous. Walter wants to use this especially for string 
> literals -- should it be fixed length or not, should it be char, wchar, 
> dchar?

It should kill signed/unsigned type mismatches forever, too.
It's really a fantastic concept.



More information about the Digitalmars-d mailing list