-
Aaaand, I'm back. I can't figure out how to have a callback call a Lisp function. I want requestAnimationFrame to call a Lisp function (or rather a function I have defined in So I have this function
And I want to call it with But I cannot figure it out. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 6 replies
-
You can use
|
Beta Was this translation helpful? Give feedback.
-
Your example works for me. Just that your function uses a wrong syntax https://jscl-project.github.io/
Note that the REPL reads 1 form at at time. So you can't just copy-paste both. It'd be nice to fix this. |
Beta Was this translation helpful? Give feedback.
Your example works for me.
Just that your function uses a wrong syntax
#j:console.log
, it should be#j:console:log
https://jscl-project.github.io/
Note that the REPL reads 1 form at at time. So you can't just copy-paste both. It'd be nice to fix this.