fare-utils
2026-11-29
Basic functions and macros, interfaces, pure and stateful datastructures
fare-utils is a package full of miscellaneous code that I've used at one point
or the other while hacking Common Lisp code: macros, functions, classes,
offering a variety of classic utilities and datastructures, plus management of package.
LICENSE:
This software is released under the bugroff license. Use at your own risk.
http://tunes.org/legalese/bugroff.html
At the insistence of several hackers, I hereby state what is obvious to me,
that they can reuse any software released under the bugroff license
and publish it as part or totality of packages under any other license
they see fit, if it really matters to them, including a BSD-style license
or a MIT license. Yes they can. Of course, if they choose a proprietary
software license, they only deserve scorn. But even that, they may do!
Loading and testing
-------------------
Load the utilities with (asdf:load-system "fare-utils").
Run (asdf:test-system "fare-utils") to run the regression suite, which
requires hu.dwim.stefil and signals an error on failure.
The ASDF system loads the base utilities, filesystem routines and stateful
container protocol, including doubly linked lists. The binary and binomial
heap implementations are outside the ASDF build.
WITH-BUFFERED-FILE-CONTENTS binds its vector to the elements read in the
current iteration. The last chunk can be short. Copy a chunk to retain it
beyond the body. A missing or empty file produces no chunks.