Changeset 34888 in project


Ignore:
Timestamp:
11/11/17 23:11:09 (4 years ago)
Author:
Kon Lovett
Message:

rel 0.12.0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wiki/eggref/4/csv-xml

    r34224 r34888  
    3030==== reader-spec
    3131
    32 <procedure>(reader-spec [(newline-type 'lax) (separator-chars '(#\,)) (quote-char #\") (quote-doubling-escapes? #t) (comment-chars '()) (whitespace-chars '(#\space)) (strip-leading-whitespace? #f) (strip-trailing-whitespace? #f) (newlines-in-quotes? #t)]) => csv-reader-spec</procedure>
     32<procedure>(reader-spec [(NEWLINE-TYPE 'lax) (SEPARATOR-CHARS '(#\,)) (QUOTE-CHAR #\") (COMMENT-CHARS '()) (QUOTE-DOUBLING-ESCAPES? #t) (WHITESPACE-CHARS '(#\space)) (STRIP-LEADING-WHITESPACE? #f) (STRIP-TRAILING-WHITESPACE? #f) (NEWLINES-IN-QUOTES? #t)]) => csv-reader-spec</procedure>
    3333
    3434==== csv-reader-spec?
     
    8989==== writer-spec
    9090
    91 <procedure>(writer-spec [(newline-char #t) (separator-char #\,) (quote-char #\") (comment-char #\#) (quote-doubling-escapes? #t) (quote-controls? #t)]) => csv-writer-spec</procedure>
     91<procedure>(writer-spec [(NEWLINE-CHAR #t) (SEPARATOR-CHAR #\,) (QUOTE-CHAR #\") (COMMENT-CHAR #\#) (QUOTE-DOUBLING-ESCAPES? #t) (QUOTE-CONTROLS? #t) (ALWAYS-QUOTE? #t)]) => csv-writer-spec</procedure>
    9292
    9393{{NEWLINE-CHAR}} is {{#t}}, {{cr}}, {{lf}}, or {{crlf}}. {{#t}} is the platform default.
     
    9696{{#\#}} is the default.
    9797
    98 {{quote-doubling-escapes?}} and {{quote-controls?}} are currently ignored.
     98{{QUOTE-DOUBLING-ESCAPES?}} is a {{boolean}}, default is {{#t}}.
     99
     100{{QUOTE-CONTROLS?}} is a {{boolean}}, default is {{#t}}, quoting strings with iso-control characters?
     101
     102{{ALWAYS-QUOTE?}} is a {{boolean}}, default is {{#t}}.
    99103
    100104==== csv-writer-spec?
     
    149153== Bugs & Limitations
    150154
    151 * The {{quote-doubling-escapes?}} and {{quote-controls?}} are currently ignored.
     155* The {{quote-doubling-escapes?}} and {{quote-controls?}} are currently
     156ignored by {{csv-writer}}.
    152157
    153158
    154159== Version history
    155160
     161; 0.12.0 : Use {{quote-doubling-escapes?}} and {{quote-controls?}}. Add {{always-quote?}}.
    156162; 0.11.1 : Fix {{writer-spec}} defaults.
    157163; 0.11.0 : Add {{reader-spec}}, ''csv-out'' stuff.
Note: See TracChangeset for help on using the changeset viewer.