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. 🙂
@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
Ok, thanks! Good to know! I will make an issue (mostly because I noticed other clojurians really like to have it handy.)
@jurjanpaul502 Should be fixed with scittle 0.5.13
Excellent! Thanks.
It's probably easy to port by looking at the nbb core.cljs