Ticket #467 (new defect)

Opened 2 years ago

Doc bug in csv->list applied to a string

Reported by: clements@… Owned by: neil
Priority: major Milestone:
Component: neil/csv.plt Keywords:
Cc: Version: (2 0)
Racket Version:

Description

The documentation suggests that (csv->list "abc") is equivalent to (csv->list (make-csv-reader (open-input-string "abc"))). However, it appears that csv->list called with a string actually parses the string as a csv-encoded value, rather than opening the file. I think the current behavior is reasonable, but it should be documented.

Note: See TracTickets for help on using tickets.