Questions tagged [funcall]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
21 views

Why funcall doesn't work from a closure

I'm having difficulty to call a function passed as an argument. Why the following snippet doesn't work, and how can I make it work? lexical-binding is set to t (defun on-success (data) (print "...
0
votes
1answer
25 views

Evaluate allows for combinations whose operators are compound expressions

I find the amazing power of scheme in sicp Exercise 1.4. Observe that our model of evaluation allows for combinations whose operators are compound expressions. Use this observation to describe ...
2
votes
1answer
103 views

Difference between apply and funcall

(describe-function apply) says: apply is a built-in function in ‘src/eval.c’. ...
0
votes
0answers
45 views

Defining function that takes funciton as argument results in “Wrong type argument: commandp, (bm-my bm-next)”

When using the below and invoking the function via <leader>Bn I get an error of command-execute: Wrong type argument: commandp, (bm-my bm-next) (defun bm-my (a) (interactive) (a) (bm-show-...