Fork me on GitHub
#sci
<
2023-05-01
>
denik20:05:57

I looked at the docs but I guess Iā€™m not grokking something

borkdude20:05:30

There is no proxy var that follows the value of the host var, unfortunately. I've considered this but it's a bit complicated. Instead what you can do is the following: https://github.com/babashka/babashka/commit/d27efb137d54b7aa14ed4295f6e7caf272fc2aec

borkdude20:05:53

it depends. in the commit I linked what happens is that in the exposed "shell" function, the host dynamic var gets "just in time" bound to the value of the SCI dynamic var. So if the user does in their program (binding [...]) the host function gets to see the right value

denik16:05:05

okay great Iā€™m JIT binding it now and it works šŸ™‚ thanks borkdude!

šŸ‘ 2