import streams, sequtils type Dir = enum north, east, south, west proc left( proc part1*(s: Stream): int = for l in s.lines: echo l 9 proc part2*(s: Stream): int = 9