Std.Csv.parseWith
fn
parseWith: Str -> Str -> Result[Array[Array[Str]], Std.Csv.CsvError]This is a callable function.
What it does
The same, for a text whose fields are separated by something else.
A tab is the other common answer, and a file that chose one is not
improved by a reader that assumes the other.
A one-byte delimiter is read by the runtime's `csvRecords`, which searches
the text's bytes for the next quote, delimiter, or newline and hands back
finished rows. Any other delimiter, and a text whose last field is never
closed, is read by `scanWith`, which names where that field began.
Read the signature
- The text after the name is the type checked by Pudu.
- Read arrows from left to right: inputs come first, and the final type is returned.
- Names inside [ ] are type arguments, such as the item type held by a collection.
- Result makes success and recoverable failure part of the function's type.
