lisp
- The most intelligent way to misuse a computergithub.com GitHub - ksaj/Capitalize.Lisp: An interesting and somewhat unorthodox way to capitalize things in Common Lisp
An interesting and somewhat unorthodox way to capitalize things in Common Lisp - ksaj/Capitalize.Lisp
Lisp, totally misused. The code and the comments may or may not be real.
- Common Lisp Formatted Outputmastodon.sdf.org screwlisp (@screwtape@mastodon.sdf.org)
@nil@functional.cafe For silly example (not demonstrating pretty printing indentation levels and line width though) (uiop:define-package :fmt (:export escape eg)) (in-package :fmt) (defun +escape+ (stream arg &rest unused) (declare (ignore arg unused)) (format stream "~a[~dm" #\escape arg)) (defu...
I do use code like I tooted there. Hex UTF-8 ~aesthetic, ~<Indentation levels~>, c\@(\s~)ses, READ~s, {iteration^ ~}, conditional:[s], word/numbers, ~/function:calls/, goto (~*well they're not all boring). Links or lemmy-replies (leplies?) to formatted output controls?
- ASDF 3.1+ :package-inferred-system p
On my show this week I am looking at a few people's Common Lisp mathematical packages (including mine).
So far, I am the only one I am seeing using :package-inferred-system . François-René Rideau 's style guide https://github.com/fare/asdf/blob/master/doc/best_practices.md#package_inferred simply echoes the ASDF manual on it (or vice versa) as a thing you could do.
The practical difference I have found is recompiling and reloading changed files within one lisp image using :force t
(asdf:operate 'asdf:load-op "my-system/src/changed-package-file" :force t)
Instead of restarting my lisp. (without force, an already loaded package won't be recompiled and reloaded, it will just be left alone)
To some extent it is also an encouragement to use the feature rich uiop:define-package and corrollary support for understanding dependencies between files/packages in a given asdf system, though uiop:define-package can be subbed for 'defpackage without using :package-inferred-system .
What's your call / experience here ?