In common lisp, 'let' didn't evaluate it's bindings in any guaranteed order (well, it is specified as being evaluated in parallel), however, 'let*' evaluated it's bindings in order from left to right. This enabled you to use the sequentially previous bindings in the evaluation of later bindings in the same 'let*' init argument, (let* ((eval1 value) (eval2 (+ 1 eval1))) body_form). Clojure seems to have implemented 'let*' and as already mentioned put a wrapper around it so we could have the word 'let' :)
On Thursday, June 18, 2015 at 3:29:55 PM UTC-5, Johannes wrote: > > Hi! > > I cannot figure out, what the difference between let and let* is. Can > anyone enlighten me? > > Johannes > -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.