scittle

jurjanpaul 2022-12-11T21:31:56.281449Z

Do I understand correctly that sci/scittle does not support PeristentQueue because it relies on deftype? Interestingly, it does somewhat recognise #queue, bit then throws Error: Could not resolve symbol: cljs. I ended up (for today’s Aoc puzzle) borrowing some ClojureScript source code to implement the bare minimum of queue functions and learned. 🙂

borkdude 2022-12-11T21:47:03.374819Z

@jurjanpaul502 It's supported in #nbb. The limitations of deftype only apply to interpreted source code, not to built-ins. I usually only add this stuff when people ask, or if I hit the issue myself, so feel free to make an issue and it will be added for the next release

jurjanpaul 2022-12-11T22:00:29.877699Z

Ok, thanks! Good to know! I will make an issue (mostly because I noticed other clojurians really like to have it handy.)

borkdude 2022-12-22T22:09:56.138019Z

@jurjanpaul502 Should be fixed with scittle 0.5.13

jurjanpaul 2022-12-23T07:28:20.962509Z

Excellent! Thanks.

borkdude 2022-12-11T21:47:24.752529Z

It's probably easy to port by looking at the nbb core.cljs