|
keep_past(Me):- append([eve],L,Me),examine_head(L). |
As a general rule, never use append/3 when the first argument is a bound list with a fixed number of arguments. In this particular case, you can rewrite it as:
keep_past([eve| L]):- examine_head(L).
DALI/src/active_dali_wi.pl
Line 239 in eb30e1d
As a general rule, never use
append/3when the first argument is a bound list with a fixed number of arguments. In this particular case, you can rewrite it as: