[e-lang] (fully qualified) names of basic types

David-Sarah Hopwood david.hopwood at industrial-designers.co.uk
Fri Mar 20 11:56:41 EDT 2009


Kevin Reid wrote:
> On Mar 19, 2009, at 22:54, David-Sarah Hopwood wrote:
> 
>>> Char or Character?
>> Does that represent a Unicode character, or a code unit?
> 
> If you ask me, it represents a Unicode scalar value.
> 
> If you ask MarkM, it's either that or a UTF-16 code unit, depending on  
> which wins the popularity contest, and until we can tell we should  
> refuse to deal with non-BMP characters.

Fair enough; then it should be 'Char', which captures the intended
ambiguity (since Java, for example, calls UTF-16 code units 'char's).

Char and Integer?

-- 
David-Sarah Hopwood ⚥



More information about the e-lang mailing list