Hello,
Apparently the function 'ev' was changed in v. 5.17
Consider the following.
%i83) build_info();
Maxima version: 5.16.3
Maxima build date: 22:36 8/27/2009
host type: i686-pc-linux-gnu
lisp-implementation-type: CMU Common Lisp
lisp-implementation-version: 19d Fedora release 5.fc8 (19D)
Evaluation took 0.0000 seconds (0.0000 elapsed) using 8.367 KB.
(%o83)
(%i84) l1: [[2,3],[3,4], [4,5]];
Evaluation took 0.0000 seconds (0.0000 elapsed) using 424 bytes.
(%o84) [[2, 3], [3,
4], [4, 5]]
(%i85) dispfun(s_list);
(%t85) s_list(list, option) :=
sublist(list, lambda([x], ev(option)))
%i86) s_list(l1, x[2]<4);
Evaluation took 0.0000 seconds (0.0000 elapsed) using 2.055 KB.
(%o86) [[2, 3]]
Trying this in 5.17 and later does nothing to the list l1. It simply
repeats the whole list.
I also tried defining s_list as
s_list(list, option) := sublist(list, lambda([x], is(option)));
This does no good either.
Any ideas?
TIA,
-sen