Kroppeb
12/06/2019, 11:56 AMKroppeb
12/06/2019, 11:57 AMkarelpeeters
12/06/2019, 12:04 PM.map { }.toMap()
is associate
🙂Kroppeb
12/06/2019, 12:05 PMKroppeb
12/06/2019, 12:06 PMkarelpeeters
12/06/2019, 12:07 PM?: error
?Kroppeb
12/06/2019, 12:07 PMKroppeb
12/06/2019, 12:10 PMreturn
but the idea came from 2017 day 7 which I recently tried as a random exercise which was actually quite similar but if I couldn't use a return there as there was a lot of branching going on so I used error()
to just stop the program instead.