vindarel
vindarel
There are two means of automatic initialization of CLOS slot values, :initform and :default-initargs. Chris Riesbeck makes a strong case for [preferring :default-initargs](https://web.archive.org/web/20201112024859/https://t.umblr.com/redirect?z=http%3A%2F%2Fwww.cs.northwestern.edu%2Facademics%2Fcourses%2F325%2Freadings%2Fgraham%2Fchap11-notes.html&t=YmFkODc0NmVhZDZhZTQyNWY0MWExNzk5MzE5N2I2OTY4MDVjNDgwMCx0TXhrbG84QQ%3D%3D&b=t%3AjDC4pRs9xTrfSEdbVt3TLA&p=https%3A%2F%2Flisptips.com%2Fpost%2F11728375873%2Finitform-and-default-initargs&m=1&ts=1605149340). Here’s a simplified example of the syntactic...
This snippet was written by @svetlyak40wt on https://gist.github.com/svetlyak40wt/a8ed639bf8fe07caed1531611bcf932d, referenced in [print-licences](https://github.com/vindarel/print-licenses). ```lisp (defun print-dependency-graph (system-name &key (level 0) (max-level most-positive-fixnum)) (when (= level max-level) (return-from print-dependency-graph)) (loop repeat level do...
https://github.com/youngde811/Lisa in which section?
I'd like to write a before-download hook to sort the downloaded files accordingly to their extension. I'll need to re-define the download directory target on the fly and that doesn't...
> I'd like to see more about designing Common Lisp software, especially large systems, and CLOS, particularly for what kinds of problems it's best used and protocol design. (Paolo Amoroso,...
as in https://github.com/fosskers/vend/blob/master/build.lisp vend's binary is 300-400kb, while relying on `ecl`. Still a good deployment option. (also might mention New command: vend test. Supports: parachute clunit2 fiveam )
specially, explain better sb-profile. for inspiration: https://www.fosskers.ca/en/blog/optimizing-common-lisp
Currently M-x detective-all doesn't show definitions such as: ```lisp (defroute route () …) (define-thing thing () …) ``` It should! --- I tried some regexs with no avail: ``` ;;...
`termp` is a trivial utility that checks if we are are running inside a "dumb" or a real terminal, in order to act accordingly (`quit` or not). - https://github.com/vindarel/termp/ thank...
`defclass-std` provides a shorter `defclass` macro, and now a `define-print-object/std` macro. - old source: https://github.com/EuAndreh/defclass-std but they archived the repository. So I didn't ping them. - new source: https://github.com/lisp-maintainers/defclass-std where...