Output too huge. Pasting a screenshot:
I'm seeing:
(fetch-input 2022 1)
you should probably change this to 2023 1 ;)lol. Probably not using that argument in my util function
about coercive-boolean, I think this is a primitive in cljs which isn't implemented yet in the compiler. you can do this:
(def coercive-boolean identity)
to work around itand please create an issue if you have time
this coercive-boolean just marks something such that cljs can skip truthiness checks, if you define it as identity, it'll still work
I have this as a workaround:
(def coercive-boolean identity)
(set! js/globalThis.coercive_boolean identity)replace both edn/read-string and Integer/parseInt with parse-long
Thanks! Will have a look tomorrow. Maybe. I’m going down in some flu or worse here. Can’t even hack in this condition!
AoC can be very tiring... thanks for the report and keep 'em coming :)
Will do! Exciting that the code worked!
I ran part-1 and part-2 on the input as fetched at the top and it worked indeed, after introducing the workaround for coercive-boolean + using parse-long (see link above)