[mercury-users] constructor class syntax
Michael Day
mikeday at corplink.com.au
Wed Nov 3 18:22:39 AEDT 1999
> > Ahh now that seems much more obvious. Would all the methods still need the
> > constraint that T be ordered though?
>
> No, they wouldn't... that is a typo.
Okay cool, guess my only remaining question is whether the compiler is
smart enough to see F as a type class parameter and potentially
conflicting usages in the definition (F(T) and F(T, U) perhaps?) and
give in gracefully :)
Michael
--------------------------------------------------------------------------
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