chicken-janitors
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: #1786: tabular errors out when specifying both column-names and retu


From: Chicken Trac
Subject: Re: #1786: tabular errors out when specifying both column-names and return-names
Date: Sun, 19 Sep 2021 19:27:34 -0000

#1786: tabular errors out when specifying both column-names and return-names
----------------------------------------------+-------------------------
            Reporter:  Vasilij Schneidermann  |      Owner:  Ivan Raikov
                Type:  defect                 |     Status:  assigned
            Priority:  minor                  |  Milestone:  someday
           Component:  extensions             |    Version:  5.2.0
          Resolution:                         |   Keywords:  tabular
Estimated difficulty:                         |
----------------------------------------------+-------------------------

Comment (by Vasilij Schneidermann):

 Thanks again! It now works correctly when using `'header`, but not when
 explicitly specifying the column names:

 {{{
 (call-with-input-file "test.csv"
   (lambda (in)
     (let ((reader (csv:reader* in column-names: '("1" "2" "3") return-
 names: #t)))
       (write (reader))
       (newline))))
 }}}

 {{{
 ((("1" "2" "3") "Column 1") (#<procedure (a19935 . args)> "Column 2"))
 }}}

-- 
Ticket URL: <https://bugs.call-cc.org/ticket/1786#comment:4>
CHICKEN Scheme <https://www.call-cc.org/>
CHICKEN Scheme is a compiler for the Scheme programming language.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]