[mercury-users] Error: mode mismatch in disjunction.

Sergio Rafael Trindade Marques l16447 at alunos.uevora.pt
Fri Apr 16 02:24:56 AEST 2004

I get this error:

/In clause for `get_registers(in, in, out)':
comp.m:087:   mode mismatch in disjunction.
comp.m:087:   `Xs' :: ground, free, free./

in the following code:

:/- pred get_registers(list(read_term(term(_)))::in,int::in,list(int)::out).


This code is just a test (it's not very well implemented, but that isn't 
the question).
I just don't know how to resolve this error.

Thanks in advance.


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