Parsed the input with import strutils, sequtils proc readIntsFromStdin*: seq[int] = toSeq(stdin.lines).map(parseInt) Run
which is the first function I throw into a file with utilities for subsequent problems in AoC. That one-liner is beautiful, there is no direct proc to fetch all lines right?