Questions tagged [lisp-1]
The lisp-1 tag has no summary.
1 question
2
votes
1
answer
1k
views
How to call a function that is the value of a variable (or expression)?
Can someone explain to me why the code below throws an error (void-function fn)?
(let ((lexical-binding t)
(fn (lambda (y) (+ y 4)))
(x 4))
(pcase x
(10 (- x 2))
(4 (fn x))))
...