vscosta/yap-6.3

Typo in clause for predicate clauselength/3

Closed this issue · 2 comments

Typo in clause for predicate clauselength/3(found by the Logtalk linter):

clauselength( C, I1, I ) :-
{ var(C) },
!,
I1 is I+1.

It should be:

clauselength( C, I1, I ) :- 
    var(C), 
    !, 
    I1 is I+1.

Fixed as of version YAP 6.5.0-6629c13c.