Please tell me there isn’t a String.toList
# advent-of-code
a
Please tell me there isn’t a String.toList
NO
b
yes
well it behave a as list in many cases
so you can do String.map {} or String.toSet()…
a
I completely blanked and did tochararray instead, which messed with me because I couldn’t flatten it
b
Look at my 3 liner in the thread
a
Just...wow
k
It's weird there is a
toSet
but no
toList
Anyway you can do
.map{it}