From 28c4fa208d9f01e8781f2f43329cfc2805d72f84 Mon Sep 17 00:00:00 2001 From: Giacomo Cavalieri Date: Sun, 27 Oct 2024 15:25:24 +0100 Subject: [PATCH] document other differences --- src/gsv.gleam | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/gsv.gleam b/src/gsv.gleam index 9bf2068..215f9a5 100644 --- a/src/gsv.gleam +++ b/src/gsv.gleam @@ -73,6 +73,8 @@ fn line_ending_to_string(le: LineEnding) -> String { /// > - both `\n` and `\r\n` line endings are accepted. /// > - a line can start with an empty field `,two,three`. /// > - empty lines are allowed and just ignored. +/// > - lines are not forced to all have the same number of fields. +/// > - a line can end with a comma (meaning its last field is empty). /// pub fn to_lists(input: String) -> Result(List(List(String)), ParseError) { case input {