Eric,
After taking a close look at the Joxa doc and some projects code in
github, I realize let syntax in Joxa is like clojure rather than
common lisp. So variable bindings is done by position mapping, no
additional '()' for variable-value group partition is needed.
I try this code and it fail to compile through:
(defn f ()
(let (a 1)
a))
reporting error as:
:0:0 *error* invalid reference a/1
:0:0 *error* reference does not exist: a
:0:0 *error* invalid reference 'let'/2
error
So only let* could be used inside function definition, right?
On the other side, where and when could let be used? Record would
have its let function generated according to the Joxa doc.
Regards,
Dylan
于 14-6-24 8:16, Eric Merritt 写道: