True when Row is a row in File. First unifies Row with the first
row in File. Backtracking yields the second, ... row. This
interface is an alternative to csv_read_file/3 that avoids
loading all rows in memory. Note that this interface does not
guarantee that all rows in File have the same arity.
In addition to the options of csv_read_file/3, this predicate
processes the option:
Line is unified with the 1-based line-number from which Row is
read. Note that Line is not the physical line, but rather the
logical record number.
To be done
- Input is read line by line. If a record separator is
embedded in a quoted field, parsing the record fails and
another line is added to the input. This does not nicely
deal with other reasons why parsing the row may fail.
Tag confusing pages with doc-needs-help|Tags are associated to your profile if you are logged in