Subrange type

Ali Çehreli acehreli at yahoo.com
Tue Jan 28 10:05:36 UTC 2020


On 1/28/20 1:55 AM, Herbert wrote:

 > wow, pragma,

pragma was to indicate the type of elements at compile time.

 > import ...

Yes, iota is a Phobos feature, part of a module.

 > only to declare a subrange type, something so simple and natural

Some languages think so.

 > I could use it in many functions as a parameter type with one single
 > simple declaration.

Sorry for jumping in the conversation like that but no, it's not a 
subrange type.

 > It's a pitty.

My apologies...

Ali



More information about the Digitalmars-d-learn mailing list