Given the following code (with giant strings snipped):

- -------------------------------

(use srfi-1)
(use srfi-13)

(define bigstring SNIP
(define bigstring2 SNIP

(write (string-length bigstring))
(display "\n")
(write (string->number bigstring))
(display "\n")
(write (string-length bigstring2))
(display "\n")
(write (string->number bigstring2))
(display "\n")

- -------------------------------

The strings most certainly do not encode numbers, and that *should*
be obvious from the first few characters, which are "le i mi cu nu
do la se lo lu li'u".

The following output occurs:

[EMAIL PROTECTED]> csc -O2 -d0 /tmp/stn.scm ; /tmp/stn
4107
#f
5065
zsh: segmentation fault  /tmp/stn

I'm not going to try to patch it, because I *loathe* C.  In fact,
I'm using Scheme largely *because* I loathe C (I'm replacing bits of
C in the project I'm working on with it).

-Robin

-- 
http://www.digitalkingdom.org/~rlpowell/ *** http://www.lojban.org/
Reason #237 To Learn Lojban: "Homonyms: Their Grate!"
Proud Supporter of the Singularity Institute - http://singinst.org/


_______________________________________________
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users

Reply via email to