Hello. All
And again I need some help with lisp functions. I use common lisp (just clear lisp)
I have created a function which just check a sequence of the values called H n L. But instead of “test” in the mapcar function I should use a lambda function which includes “test” and then approve that the result will be (t nil nil).
Can somebody help me with?
The code of the H nL function
And again I need some help with lisp functions. I use common lisp (just clear lisp)
I have created a function which just check a sequence of the values called H n L. But instead of “test” in the mapcar function I should use a lambda function which includes “test” and then approve that the result will be (t nil nil).
Can somebody help me with?
The code of the H nL function
(defun test(n) (greaterp high n low) )
(setq l ‘(4 7 2))
(setq high 7)
(setq low 3)
(mapcar ‘test l)
(t nil nil) {the result of the mapcar}