[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Fun-O Basic Edition Compiler



Bruce Hoult wrote:

> In article <3C321156.1020709@quiotix.com>, Jeffrey Siegal 
> <jbs@quiotix.com> wrote:
> 
> 
>>>You can always declare a particular value to have a more restricted 
>>>type.
>>>
>>Is there such a type in Dylan?
>>
> 
> Millions of 'em...
> 
>   limited(<integer>, from: 20, to: 4123)

Not exactly.  What I was getting at would use the "natural" limits of a 
machine integer (like the native <integer> but with overflow checking). 
Is there a way of specifying that?