chicken-users
[Top][All Lists]
Advanced

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

[Chicken-users] utf8 egg and string-split


From: Jong-Hyouk Yun
Subject: [Chicken-users] utf8 egg and string-split
Date: Tue, 19 Jun 2007 12:46:47 +0900

Hi, I found some problem with utf8 egg and string-split.

please see below...

<code>
Version 2.6 - linux-unix-gnu-x86 - [ libffi dload ptables applyhook ]
(c)2000-2007 Felix L. Winkelmann
; loading /home/ageldama/.csirc ...
; loading /home/ageldama/local/lib/chicken/1/readline.so ...
; loading library regex ...
; loading /home/ageldama/local/lib/chicken/1/man.so ...

;;;; BEFORE: string-split works fine.
#;1> (string-split "foo bar")
("foo" "bar")

;;;; load utf8 extension...
#;2> (use iset syntax-case utf8) (import utf8)
; loading /home/ageldama/local/lib/chicken/1/syntax-case.so ...
; loading /home/ageldama/local/lib/chicken/1/syntax- case-chicken-macros.scm ...
; loading /home/ageldama/local/lib/chicken/1/iset.so ...
; loading /home/ageldama/local/lib/chicken/1/utf8.so ...
; loading /home/ageldama/local/lib/chicken/1/utf8-lolevel.so ...
; loading /home/ageldama/local/lib/chicken/1/byte- string.so ...
; visiting utf8.scm ...

;;;; AFTER: string-split failure.
#;4> (string-split "foo bar")
Error: (string-split) bad argument type - not a string: #f

        Call history:

        <syntax>                (utf8$$string-split (quote "foo bar"))
        <syntax>                (quote "foo bar")
        <eval>          (utf8$$string-split (quote "foo bar"))  <--

</code>

is this utf8 extension's bug or something like that? or my mistakes?

I'll appreciate your concenrs, and thanks to felix and alex for nice Chicken and eggs. :-)

Thanks.

reply via email to

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