[mercury-users] Tagged datatypes and boxing

Ralph Becket rbeck at microsoft.com
Fri Sep 24 19:56:03 AEST 1999


> >To continue, why the h--l should we humans be forced to count bits?
> 
> [...] Another possibility is to allow some 
> kinds of "pragma"
> to suggest to the compiler how a type is best represented.  eg:
> 
> type color = <integer range/RGB triple/...> pragma packed.

I would be quite happy to see a facility like this.

Ralph
--------------------------------------------------------------------------
mercury-users mailing list
post:  mercury-users at cs.mu.oz.au
administrative address: owner-mercury-users at cs.mu.oz.au
unsubscribe: Address: mercury-users-request at cs.mu.oz.au Message: unsubscribe
subscribe:   Address: mercury-users-request at cs.mu.oz.au Message: subscribe
--------------------------------------------------------------------------



More information about the users mailing list