[mercury-users] overloading
Michael Day
mcda at students.cs.mu.oz.au
Wed Jul 26 14:20:12 AEST 2000
This has come up before (and what hasn't?) but I inadvertedly ran into it
again and can't see an obvious way out.
:- func vector * float = vector.
:- func float * vector = vector.
*/3 now has two different definitions and the compiler gets very upset.
Hacking around it by putting them in separate submodules won't help if
they're type class methods.
Any ideas?
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