Search found 3 matches
Search found 3 matches • Page 1 of 1
Well, I just recently saw this somewhere....ah, the config.lisp file for SBCL, or CLISP, or CMUCL...not sure which at the moment. (let ((cache nil)) (defun long-site-name () (if cache cache (setq cache (some-lengthy-calculation-with-IO-from-shell))))) so there's an idiom for regular use of closures ...
I was originally going to vote for "When it makes sense" (or even a step down), until I realized that I frequently have a print-object method defined for my structs or conditions or whatever, and use conditions, and use defmethod on structs, etc. CL-SQL uses it, and I use that as well.
- Tue Jul 08, 2008 6:07 am
- Forum: Common Lisp
- Topic: What are you doing in Common Lisp lately?
- Replies: 26
- Views: 34921
I'm writing a card-scanner configuration tool for my company. We have about 20 retirement communities, and are using three different types of proximity ID cards. Each type has its own scanner model, and requires its own custom (non-factory) configuration. One of the sweet things about Lisp (some par...