vscosta/yap-6.3

Wrong arguments in clause for assoc predicate map_assoc/3

Opened this issue · 3 comments

Given the meta-predicate directive for the map_assoc/3 predicate and its description, the following clause arguments seem incorrect:

map_assoc(t, T, T) :- !.

Expected:

map_assoc(_, t, t) :- !. 

Found by the Logtalk linter.

Nice catch.

Typo in e894209 the first argument: t_ should be _.

sorry