multisoln_func.m:020: Error: invalid determinism for function `f'/1: multisoln_func.m:020: the primary mode of a function cannot be `cc_multi'. multisoln_func.m:020: In Mercury, a function is supposed to be a true multisoln_func.m:020: mathematical function of its arguments; that is, the multisoln_func.m:020: value of the function's result should be determined multisoln_func.m:020: only by the values of its arguments. (Allowing multisoln_func.m:020: functions to have more than one result for the same multisoln_func.m:020: arguments would break referential transparency.) Most multisoln_func.m:020: likely, this procedure should be a predicate, not a multisoln_func.m:020: function. multisoln_func.m:026: Error: invalid determinism for function `test'/0: multisoln_func.m:026: the primary mode of a function cannot be `cc_multi'. multisoln_func.m:033: Inferred :- func test2 = int. multisoln_func.m:033: Error: invalid determinism for function `test2'/0: multisoln_func.m:033: the primary mode of a function cannot be `multi'. multisoln_func.m:037: Inferred :- func test3(int) = int. multisoln_func.m:037: Error: invalid determinism for function `test3'/1: multisoln_func.m:037: the primary mode of a function cannot be `nondet'. multisoln_func.m:041: Inferred :- func test3b(int) = int. multisoln_func.m:041: Error: invalid determinism for function `test3b'/1: multisoln_func.m:041: the primary mode of a function cannot be `cc_nondet'.