FYI, I've implemented most of the corrections suggested on this thread. I kept the many defs- I thought at first I'd rewrite this part of the code to use atoms instead, but then I realized that's also a suboptimal solution and would already require me to write in a bunch of Clojure-specific exposition, which is beyond the intent of this tutorial. Using defs, and changing the values of these global variables by re-deffing is definitely ugly, but it also is very simple.
As I mentioned, I hope I can create a proper Clojure tutorial sometime in the future with cleaner Clojure code. On Apr 1, 11:43 am, Daniel Werner <daniel.d.wer...@googlemail.com> wrote: > Hi Conrad, > > thanks for putting this tutorial up. "CastingSPELs" was actually one > of the documents that inspired me to start learning Lisp, so I'm happy > to see it may help others get started with Clojure. > > Adding to the corrections: The Addendum (page 8) seems to have > remained CL-centric (defparameter, dotted lists, cons cells). It also > mentions "esoteric commands" neccessary for text processing, which is > clearly not the case with Clojure's c.c.str-utils / c.c.string. > > On Apr 1, 2:38 am, Conrad <drc...@gmail.com> wrote: > > > in the tooth (There's a new one in my upcoming book for Common Lisp > >http://nostarch.com/lisp.htmthat's more up to date, but it's pretty > > Is there any chance you're going to release this book for Clojure in > the future? :-) > > -- > Daniel -- 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 To unsubscribe, reply using "remove me" as the subject.