Goal of this gist: make a drafty list of ideas for CDR (Common Lisp Document Repository) (see also Zenodo Community CDR)
Put the ideas (possibly with links) in the comments
Goal of this gist: make a drafty list of ideas for CDR (Common Lisp Document Repository) (see also Zenodo Community CDR)
Put the ideas (possibly with links) in the comments
There's no way to define your own (defun (compound name) ...)
sleep with sub-second precision
Already in the standard, my bad
environments
http://metamodular.com/SICL/environments.pdf
symbol aliases
https://discord.com/channels/297478281278652417/297478350145060875/966815899711582208
declaratively, through defpackage
:
(defpackage #:pkg
(:import-from #:alexandria
#:unionf #:removef
(#:line-up-last #:->>)
(#:line-up-first #:->)))
Where the car is the original symbol and the cdr is the list of aliases
Another list
from me:
It could be nice if digit-char could take a third argument for the alphabet
Extensible intern
There should be a CDR for package-local nicknames. (see https://github.com/Gleefre/cdr-package-local-nicknames/ for a draft I wrote some time ago -- a rewrite is probably needed)
Structures should be less under-specified. For example slot-...
functions should work on those (unless :type
is vector or list); it should be possible to meaningfully use structure-class
; there should be ensure-struct
function.
symbol aliases
See also https://github.com/Gleefre/symbol-links ; https://github.com/tfeb/symbol-nicknames
[ until cl-car is fully up, will continue writing ideas here ]
There should be compiler-macro-let
or similar.
[ until cl-car is fully up, will continue writing ideas here ]
I think it would be better to just create a discussion in cl-car
Maybe the title could be just "compiler-macro-let"
Advising functions