1
submitted 1 year ago* (last edited 1 year ago) by screwtape@lemmy.sdf.org to c/lisp@lemmy.sdf.org

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 ?

no comments (yet)
sorted by: hot top controversial new old
there doesn't seem to be anything here
this post was submitted on 18 Jun 2023
1 points (100.0% liked)

lisp

144 readers
4 users here now

Discussions on the LISP programming language

founded 1 year ago
MODERATORS