2. There is not `cond` but `if`. Try write `cond` macro yourself. :-)
`eval` takes a list or an atom. For example:
>>> (eval :1)
==> 1
>>> (eval :(+ 1 2))
==> 3
>>> (define pi 3.14)
==> 3.14
>>> (eval :pi)
==> 3.14
--
야간개발팀 Lunant
http://lunant.com/
洪民憙 Hong Minhee
http://dahlia.kr/
>>> (> 1 2 3)
==> false
>>> (< 1 2 3)
==> true
>>> (<= 1 2 2)
==> true
>>> (>= 3 3 1)
==> true
Check the changeset:
http://github.com/lunant/lisphp/commit/41132799f6baac06e5c9ad9cfabe1e46a503c6da
Thanks.
2010/10/28 Hong Minhee <dah...@lunant.com>: