From e894d0dbbca8a7650716b209572468b75ba2b580 Mon Sep 17 00:00:00 2001 From: Tony Garnock-Jones Date: Sun, 7 Mar 2021 21:49:57 +0100 Subject: [PATCH] Whitespace questions --- questions.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/questions.md b/questions.md index a3737a3..a441795 100644 --- a/questions.md +++ b/questions.md @@ -29,3 +29,11 @@ not. There's only one (?) at the moment, the `%i"f"` in `Float`; should it be changed to case-sensitive? Q. Should `IOList`s be wrapped in an identifying unary record constructor? + +Q. Whitespace - is having `,` as whitespace sensible or not? I can +think of arguments both ways. Similarly, JSON *benefits* from +requiring a comma separating each item in a list; we currently don't +require any whitespace at all between elements of a list, making it +ambiguous: does `[123]` denote a single-element or a three-element +list? Compare JSON where `[1,2,3]` is unambiguously different from +`[123]`.