diff options
author | Aryadev Chavali <aryadev@aryadevchavali.com> | 2025-02-10 18:12:46 +0000 |
---|---|---|
committer | Aryadev Chavali <aryadev@aryadevchavali.com> | 2025-02-11 00:40:19 +0000 |
commit | cb7dacccfaae7ea9e2e654bfedde6776435b7e84 (patch) | |
tree | 0fce8493895d63d6c6308275e08348f90eafd783 /packages.lisp | |
parent | 3e6da6b0f4abb6aa1f1274e183d039eeecebec86 (diff) | |
download | cantedraw-cb7dacccfaae7ea9e2e654bfedde6776435b7e84.tar.gz cantedraw-cb7dacccfaae7ea9e2e654bfedde6776435b7e84.tar.bz2 cantedraw-cb7dacccfaae7ea9e2e654bfedde6776435b7e84.zip |
rev-map function
Given an indicator function (A->B) and a list of items of A, return
an association list associating B to the elements that map to it;
essentially the inverse map of the indicator.
Diffstat (limited to 'packages.lisp')
-rw-r--r-- | packages.lisp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/packages.lisp b/packages.lisp index 977bf66..5b0a663 100644 --- a/packages.lisp +++ b/packages.lisp @@ -29,7 +29,8 @@ (:use :cl :lib.macros) (:export :parse-integer* - :range :take :split)) + :range :take :split + :rev-map)) (defpackage main (:use :cl :lib.macros) |