aoc2021/utils.jl

4 lines
90 B
Julia

function non_empty_lines(path::String)
Iterators.filter(!isempty, eachline(path))
end