I've very new to lisp so please bear with me. The following code is an attempt at what I 'thought' was a way to pass a function, but it appears to be something else:
(defun hello-world () (format t "hello, world!"))
(defun ll (x y) (+ (* 3 y)x))
(defun zz(x)(funcall(λ(x)x)x))
>(zz (hello-world))
>hello, world!NIL
>(zz (ll 3 4))
>15
>(zz 8)
>8
My question(s): Is this an identity function? If not, why? Lastly, why is the last (x) required for the lambda expression? Any canonical source material would be greatly appreciated. Thanks.