Expand description

Whitespace-delimited item lists.

CAP uses repeated elements to provide repetition in most contexts:

<item>Prince</item>
<item>the Artist Formerly Known as Prince</item>

…but evidently some contexts are better suited to concatenating strings, and potentially enclosing items in quotation marks:

<item>Prince "the Artist Formerly Known as Prince"</item>

The rationale behind this design choice is left as an exercise for the reader.

This module implements this scheme. Items is a container of Items, and Items are Strings which do not contain double quotation marks. Implementation is not to be construed as endorsement.

Structs

The error returned when an Item would contain double quotes.

A String which must not contain the double quote character \".

A container for whitespace-delimited strings, each of which may contain internal whitespace by enclosing strings with double quotes.

The error returned when an Items string contains an unterminated quoted section.