Here's one for your mystery file:

foo.scm:
        (use bindings)
        (bind (a b c) '(1 2 3)
                (print a))
        (write-line "Finished")


$ csj -bq foo.scm
1
Finished

BUT:

$ csc foo.scm

Error: [internal compiler error] type of literal not supported: #<procedure>

        Call history:

        <syntax>          (##core#begin (write-line "Finished"))
        <syntax>          (write-line "Finished")       <--

Error: shell command terminated with non-zero exit status 17920: 
/home/mcarter/.local/bin/chicken foo.scm -output-file foo.c



FYI:
$ csi

CHICKEN
(c)2008-2011 The Chicken Team
(c)2000-2007 Felix L. Winkelmann
Version 4.7.0.5-st 
linux-unix-gnu-x86 [ manyargs dload ptables ]
compiled 2012-03-07 on miro (Linux)


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

Reply via email to