aboutsummaryrefslogtreecommitdiff
path: root/packages.lisp
diff options
context:
space:
mode:
authorAryadev Chavali <aryadev@aryadevchavali.com>2025-02-10 18:12:46 +0000
committerAryadev Chavali <aryadev@aryadevchavali.com>2025-02-11 00:40:19 +0000
commitcb7dacccfaae7ea9e2e654bfedde6776435b7e84 (patch)
tree0fce8493895d63d6c6308275e08348f90eafd783 /packages.lisp
parent3e6da6b0f4abb6aa1f1274e183d039eeecebec86 (diff)
downloadcantedraw-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.lisp3
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)