This is an attempt to define a standard interface for CSV file operations,
to be used in different Prolog environments. This module implements this
standard for the SWI-Prolog platform.
- author
- - GT Nunes
- version
- - 1.3.2
- copyright
- - (c) TheWiseCoder 2020-2021
- license
- - BSD-3-Clause License
- csv_input_record(+Stream:ref, +Records:list) is det
- Retrieve the next CSV record from Stream.
- Arguments:
-
Stream | - The input stream |
Record | - List of fields |
- csv_input_record(+Stream:ref, +Records:list, +CompiledOptions:list) is det
- Retrieve the next CSV record from Stream.
- Arguments:
-
Stream | - The input stream |
Record | - List of fields |
CompiledOptions | - Compiled input options |
- csv_input_records(+Stream:ref, +Records:list) is det
- Retrieve all CSV records from Stream.
- Arguments:
-
Stream | - The input stream |
Records | - List of lists of fields |
- csv_input_records(+Stream:ref, +Records:list, +Options:list) is det
- Retrieve all CSV records from Stream.
- Arguments:
-
Stream | - The input stream |
Records | - List of lists of fields |
Options | - Input options |
- csv_output_record(+Stream:ref, +Record:list) is det
- Write the given CSV record to Stream.
- Arguments:
-
Stream | - The output stream |
Record | - List of fields |
- csv_output_record(+Stream:ref, +Record:list, +Options:list) is det
- Write the given CSV record to Stream.
- Arguments:
-
Stream | - The output stream |
Record | - List of fields |
Options | - The output options |
- csv_output_records(+Stream:ref, +Records:list) is det
- Write the given CSV records to Stream.
- Arguments:
-
Stream | - The output stream |
Records | - List of lists of fields |
- csv_output_records(+Stream:ref, +Records:list, +Options:list) is det
- Write the given CSV records to Stream.
- Arguments:
-
Stream | - The output stream |
Records | - List of lists of fields |
Options | - The output options |
- csv_is_header(+Record:list) is semidet
- Assert whether all fields in Record may be column names.
- Arguments:
-