Hi,

This might be a stupid question,
but would someone help me understand the following eval example?
I was expecting to get 1.

Daishi

8<------8<------8<------8<------8<------8<------8<------8<------

CHICKEN
Version 2.732 - linux-unix-gnu-x86      [ manyargs dload ptables applyhook 
cross ]
(c)2000-2007 Felix L. Winkelmann        compiled 2007-12-04 on spirits (Linux)

#;1> (define a 'car)
#;2> (define b '(1 2 3))
#;3> (eval (list a b))
Error: call of non-procedure: 1

        Call history:

        <syntax>                (eval (list a b))
        <syntax>                (list a b)
        <eval>          (eval (list a b))
        <eval>          (list a b)
        <syntax>                (car (1 2 3))
        <syntax>                (1 2 3)
        <eval>          (car (1 2 3))
        <eval>          (1 2 3) <--


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

Reply via email to