MaliciousKebab@sh.itjust.works to Programmer Humor@programming.devEnglish · edit-210 months agoWhat could go wrong trying to solve AoC in Rust?sh.itjust.worksimagemessage-square5fedilinkarrow-up11arrow-down11
arrow-up10arrow-down1imageWhat could go wrong trying to solve AoC in Rust?sh.itjust.worksMaliciousKebab@sh.itjust.works to Programmer Humor@programming.devEnglish · edit-210 months agomessage-square5fedilink
minus-squarejanAkali@lemmy.onelinkfedilinkEnglisharrow-up1·edit-29 months agoIt’s Nim, but I have no idea why you can’t do this in Rust: var seeds = lines[0].split(": ")[1].splitWhitespace().mapIt(it.parseInt) Full solution: https://codeberg.org/Archargelod/aoc23-nim/src/branch/master/day_05/solution.nim
It’s Nim, but I have no idea why you can’t do this in Rust:
var seeds = lines[0].split(": ")[1].splitWhitespace().mapIt(it.parseInt)
Full solution: https://codeberg.org/Archargelod/aoc23-nim/src/branch/master/day_05/solution.nim