[mercury-users] uniqueness

Robert Ernst Johann JESCHOFNIK rejj at cat.cs.mu.OZ.AU
Sun Oct 3 22:45:36 AEST 1999


Hello.

I am rather  vague on the uniqueness of types/objects, and how/when to use
uniqueness information...

If I were to represent a matrix of floats as follows:
:- type f_matrix --->
        f_matrix(
                  int, % M
                  int, % N
                  array(float)
                ).

what implications would that have when I deconstruct some object of type
f_matrix to do an array__set, for example? (using destructive update)
Do I actually have to use uniq_array(float) instead? Do those two integers
also have to be unique, to keep the whole f_matrix unique?


thanks..
Rob
--------------------------------------------------------------------------
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