[mercury-users] undiscriminated unions
Dave Slutzkin
dave_slutzkin at yahoo.com
Fri Jan 11 10:43:07 AEDT 2002
--- David Overton <dmo at cs.mu.OZ.AU> wrote:
> I think you mis-understand what an undiscriminated
> union type is.
Yep, I did.
I must have had a typo in the type declaration. When
I first removed the 'none' in the event type, I began
to get compiler error messages about 'undiscriminated
union not implemented'. This led me to the erroneous
conclusion that I had an undiscriminated union.
I was surprised at the time, because it seemed like a
pretty elementary feature that I was trying to use.
I've just changed my code back - and it works. Sorry
for any bother.
thanks,
Dave.
http://my.yahoo.com.au - My Yahoo!
- It's My Yahoo! Get your own!
--------------------------------------------------------------------------
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