[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
#1786: tabular errors out when specifying both column-names and return-n
From: |
Chicken Trac |
Subject: |
#1786: tabular errors out when specifying both column-names and return-names |
Date: |
Sat, 18 Sep 2021 12:31:05 -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
Keywords: tabular | Estimated difficulty:
-----------------------------------+------------------------------------
I'm trying out tabular as replacement for csv-abnf and found that it
supports associating column names with rows. However if I specify both
column-names (no matter whether it's set to the undocumented `'header`
option to automatically derive them from the first line or a list of
strings to explicitly specify them) and return-names, I get an inscrutable
backtrace:
{{{
(call-with-input-file "test.csv"
(lambda (in)
(let ((reader (csv:reader* in column-names: 'header return-names:
#t)))
(write (reader))
(newline))))
}}}
{{{
Error: (map) bad argument type - not a proper list: ""
Call history:
utf8-srfi-14.scm:101: iset#iset-contains?
utf8-srfi-14.scm:101: iset#iset-contains?
utf8-srfi-14.scm:101: iset#iset-contains?
utf8-srfi-14.scm:101: iset#iset-contains?
utf8-srfi-14.scm:101: iset#iset-contains?
utf8-srfi-14.scm:101: iset#iset-contains?
utf8-srfi-14.scm:101: iset#iset-contains?
utf8-srfi-14.scm:101: iset#iset-contains?
utf8-srfi-14.scm:101: iset#iset-contains?
utf8-srfi-14.scm:101: iset#iset-contains?
utf8-srfi-14.scm:101: iset#iset-contains?
utf8-srfi-14.scm:101: iset#iset-contains?
<eval> (write (reader))
<eval> (reader)
utf8-srfi-14.scm:101: iset#iset-contains?
utf8-srfi-14.scm:101: iset#iset-contains? <--
}}}
--
Ticket URL: <https://bugs.call-cc.org/ticket/1786>
CHICKEN Scheme <https://www.call-cc.org/>
CHICKEN Scheme is a compiler for the Scheme programming language.
- #1786: tabular errors out when specifying both column-names and return-names,
Chicken Trac <=
- Re: #1786: tabular errors out when specifying both column-names and return-names, Chicken Trac, 2021/09/18
- Re: #1786: tabular errors out when specifying both column-names and return-names, Chicken Trac, 2021/09/18
- Re: #1786: tabular errors out when specifying both column-names and return-names, Chicken Trac, 2021/09/19
- Re: #1786: tabular errors out when specifying both column-names and return-names, Chicken Trac, 2021/09/19
- Re: #1786: tabular errors out when specifying both column-names and return-names, Chicken Trac, 2021/09/19
- Re: #1786: tabular errors out when specifying both column-names and return-names, Chicken Trac, 2021/09/20