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

Sergio Rafael Trindade Marques l16447 at alunos.uevora.pt
Fri Apr 16 07:43:49 AEST 2004


Alan Baljeu wrote:

>>get_registers([T|Ts],N,[X|Xs]):-
>>    (T=term(Vars,functor(atom(_F),LArgs,_)),
>>        list__length(LArgs,_Tam),
>>        get_registers(Ts,N,Xs)
>>    ;T=eof
>>    ;T=error(_,_)
>>    )./
>>
>>    
>>
>
>It appears you aren't defining X, so the last parameter can't be considered out
>until you define it.
>
>--------------------------------------------------------------------------
>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
>--------------------------------------------------------------------------
>
>.
>
>  
>
Thanks for your help!!!
Sergio
--------------------------------------------------------------------------
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