News for hackers. Stuff that matters.
Re:Advent of Code 2021 by CornCobs on Saturday November 20, 2021 @10:53PM (#29294065)
I also did that year in haskell! My favorite part was using knot tying to feed the output of my intcode machine into itself! Lazy evaluation allowed me to continue expressing my intcode machine as a pure function of [Int] -> [Int] without having to restructure the entire machine to allow getting an output, then adding the next input to the machine in a step-wise manner usually accomplished with generators of some sort in other languages

There are no comments on this comment yet.