racket192
2019-12-19 23:38:31

@samdphillips yeah the whole “mutability” thing is a challenge in Racket. It hurts me inside. But I’m keeping the intcode in a mutable vector and that seems to work.


racket192
2019-12-19 23:38:52

A global mutable vector. Ick.


racket192
2019-12-19 23:39:54

Check that, it’s local to the handler. phew.


sorawee
2019-12-20 03:01:38

You will need to change from a mutable vector to something else on Day 9, but it should be a straightforward change :slightly_smiling_face:


xarxziux
2019-12-20 07:32:35

I just doubled the size of the vector :shrug: