If I understand the ECMA standard correctly, then a Spreadsheet contains at least one worksheet. Could we express this with types like so: ~~~~ xlSheets :: Lens' Xlsx (NonEmpty (Text, Worksheet)) ~~~~ Maybe there are more occurrences of non-empty structures.
If I understand the ECMA standard correctly, then a Spreadsheet contains at least one worksheet.
Could we express this with types like so:
Maybe there are more occurrences of non-empty structures.