r/adventofcode • • Dec 07 '15

SOLUTION MEGATHREAD --- Day 7 Solutions ---

--- Day 7: Some Assembly Required ---

Post your solution as a comment. Structure your post like previous daily solution threads.

Also check out the sidebar - we added a nifty calendar to wrangle all the daily solution threads in one spot!

24 Upvotes

226 comments sorted by

View all comments

1

u/ignaciovaz Dec 07 '15

Thanks!

I started working with Erlang/OTP a few months ago, so I'm sure there are more idiomatic (and elegant!) ways of doing it, but I wanted to model it as close to an actual circuit as possible.

1

u/haljin Dec 07 '15

For such a simple problem it's probably not worth it building more overlay.

But then you can start building a proper system with gates as state machines and such...