Fork me on GitHub
#sci
<
2021-07-31
>
viesti14:07:55

hmm, I noticed that when using sci/merge-opts, :load-fn get's lost if it's not specified in the merge-opts call, but was wondering if nilling it out should be actually supported

borkdude14:07:30

did you provide :load-fn nil or did it do this itself?

viesti14:07:58

didn't provide the key at all

viesti14:07:40

for now, I can pass the load-fn that I passed during sci/init, in the sci/merge-opts call as well

borkdude14:07:18

yes, that seems a bug then

viesti14:07:00

yes, got a bit fumbled on supporting nilling it out 🙂

viesti14:07:25

something odd going on, since at sci/merge-opts time, load-fn not found in original env, I'll look into this a bit later with fresh eyeys

borkdude14:07:13

original env = mutable atom, which is perhaps the reason?

viesti18:07:17

might be, have to rule out that I'm not doing something silly. Could add a watch after init to trace a bit