SWI Prolog und length
2002-01-02 12:05
Popcorn
?- length(X, [a,b,c]).
ERROR: length/2: Type error: `integer' expected, found `[a, b, c]'
Eigentlich sollte da ja X=3 rauskommen. Normal?
ERROR: length/2: Type error: `integer' expected, found `[a, b, c]'
Eigentlich sollte da ja X=3 rauskommen. Normal?