On Fri, Nov 12, 2010 at 11:15 AM, John Zabroski <[email protected]>wrote:

>
>
> On Thu, Nov 11, 2010 at 7:44 PM, Jonathan S. Shapiro <[email protected]>wrote:
>
>> Other than bit sets and enumerations, what **commonly used** types want to
>> introduce new, named literals?
>>
>> [and unions, for constructors]
>>
>> shap
>>
>>
> If you are asking about programming languages in general, then "syntax for
> hashes" has to be up there....
>
>
That's not quite what I meant.

Enumerations are one example - the enumerands are new bindings.

Bit sets having named elements are another - a series of bindings gets
introduced for the individual bit names.

Unions introduce leg constructors.

What other commonly used constructs introduce multiple named elements in a
single declaration in that sort of way?


Jonathan
_______________________________________________
bitc-dev mailing list
[email protected]
http://www.coyotos.org/mailman/listinfo/bitc-dev

Reply via email to