r/adventofcode • • Dec 23 '15

SOLUTION MEGATHREAD --- Day 23 Solutions ---

This thread will be unlocked when there are a significant number of people on the leaderboard with gold stars for today's puzzle.

edit: Leaderboard capped, thread unlocked!


We know we can't control people posting solutions elsewhere and trying to exploit the leaderboard, but this way we can try to reduce the leaderboard gaming from the official subreddit.

Please and thank you, and much appreciated!


--- Day 23: Opening the Turing Lock ---

Post your solution as a comment or link to your repo. Structure your post like previous daily solution threads.

9 Upvotes

155 comments sorted by

View all comments

Show parent comment

1

u/aepsilon Dec 24 '15

Nice use of lenses! I ended up doing a lot of poor man's lens for today and yesterday. Between that and seeing examples like this in the wild, it's starting to look more appealing.

1

u/MaybeJustNothing Dec 25 '15

It's actually my first attempt at using lenses + State and it was much easier than I thought!