Commit Graph

8 Commits

Author SHA1 Message Date
aliasless f05a91d6a9 why is this rotated and why does this jumble without swapping width and height 2019-12-08 19:29:38 -08:00
aliasless 37d93081db this is the most bullshit code i've written but i dont care anymore 2019-12-08 18:08:45 -08:00
aliasless c984169df9 visualization of AOC day 3 2019-12-04 19:22:54 -08:00
aliasless 51132fd27c a) modified this a bit because its more complicated than it needed
to be, in two ways. first, the map and filter situation was uneccesary.
list comprehension with a verify predicate is more easily followed.
b) the monadic bind thing could be cool in the predicate, as i could
create one mega computation for the verify, but its entirely unecessary,
and makes each individual check more complex than it needs to be.
c) this is simple enough that type annotations are unecessary.
d) stopped trying to do io or using the main function. it seems sensible
to treat this as a library of functions rather than a single program to be
executed.
e) the checks here are somewhat specific, it makes sense to make them
only visible to the passcodes function.
2019-12-04 17:10:57 -08:00
aliasless b15b5ebdbe AOC day 4 2019-12-04 08:46:59 -08:00
aliasless 21697f7966 AOC day 3 2019-12-03 13:15:13 -08:00
aliasless 2c48fa6efe AOC day 2 2019-12-02 08:59:37 -08:00
aliasless 3eb3276435 AOC day 1 2019-12-01 14:31:46 -08:00