Porting Common Lisp code to Clojure

There’s a list on clojure.org of differences between Clojure and other Lisps. Some other things I’ve noticed using Clojure: Idiomatic Clojure leans heavily toward immutable data structures. Anywhere you see SETF in CL may have to be changed in Clojure to take full advantage. (You always have the option of using mutable Java data structures … Read more

Are there any High Level, easy to install GUI libraries for Common Lisp? [closed]

Ltk is quite popular, very portable, and reasonably well documented through the Tk docs. Installation on SBCL is as easy as saying: (require :asdf-install) (asdf-install:install :ltk) There’s also Cells-Gtk, which is reported to be quite usable but may have a slightly steeper learning curve because of its reliance on Cells. EDIT: Note that ASDF-INSTALL is … Read more

Why did father of Clojure say that Scheme’s true/false are broken?

It strikes me you’d rather see it from the horse’s mouth, so here’s a choice extract from a message Rich posted: Scheme #t is almost completely meaningless, as Scheme conditionals test for #f/non-#f, not #f/#t. I don’t think the value #f has much utility whatsoever, and basing conditionals on it means writing a lot of … Read more

How is Lisp dynamic and compiled?

Lisp is a wide family of language and implementations. Dynamic in the context of Lisp means that the code has a certain flexibility at runtime. It can be changed or replaced for example. This is not the same as dynamically typed. Compilation in Lisp Often Lisp implementations have a compiler available at runtime. When this … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)