Define an input_lines() iterator.