Johannes
6e92d937a9
day05 part 1 (2 WIP)
2018-12-05 08:44:50 +01:00
Johannes
baacb780ba
day04 both
2018-12-04 20:15:20 +01:00
Johannes
43ce26593e
day03 both
2018-12-04 18:06:01 +01:00
Johannes
088179a007
day02-2 super-fast
2018-12-02 19:12:01 +01:00
Johannes
062c30ece4
day02-2 linear
2018-12-02 14:25:46 +01:00
Johannes
b89e4f4929
day02 both
2018-12-02 09:17:23 +01:00
Johannes
a0509342ae
day01-2 use scan with tuple expansion
...
The previous problem with this was, that I tried returning
"Some((Ref<i32>, _))" from the lambda. That caused the compiler to complain
about the lifetime of the `current` value, since I tried passing on the Ref
instead of the encapsulated value.
2018-12-01 18:19:07 +01:00
Johannes
0494dee19d
day01-2 tuple
2018-12-01 17:54:30 +01:00
Johannes
2d64eefc09
day01 redone in a more functional way
...
in task2, RefCell is used since the passed state in 'scan' seems to be
immutable, although it shouldn't.
2018-12-01 15:13:16 +01:00
Johannes
cebb80763a
day01 both
2018-12-01 10:03:12 +01:00