summaryrefslogtreecommitdiff
path: root/slsets.egg
diff options
context:
space:
mode:
authorPeter Bex <peter@more-magic.net>2025-07-29 14:52:12 +0200
committerPeter Bex <peter@more-magic.net>2025-08-05 09:41:44 +0200
commit84a9205579a6d069a40d23b4bc815bc1a50b8181 (patch)
tree82a7986e4f60a5d222ff0ceefbe6f199c57843e5 /slsets.egg
downloadslsets-84a9205579a6d069a40d23b4bc815bc1a50b8181.tar.gz
Initial implementation of slsets egg
This implements sets of symbols *as lists*, like in the srfi-1 lset operations. It maintains the benefit of using lists for everything, but not having to pay the quadratic performance penalty that srfi-1 entails. We achieve this by using plist operations to "mark" items so we have to visit the list "set" only a fixed number of times.
Diffstat (limited to 'slsets.egg')
-rw-r--r--slsets.egg8
1 files changed, 8 insertions, 0 deletions
diff --git a/slsets.egg b/slsets.egg
new file mode 100644
index 0000000..fd2b6f3
--- /dev/null
+++ b/slsets.egg
@@ -0,0 +1,8 @@
+;;; slsets.egg -*- Scheme -*-
+
+((synopsis "Lists of symbols as sets")
+ (author "Peter Bex")
+ (category data)
+ (license "BSD")
+ (test-dependencies test)
+ (components (extension slsets (csc-options "-O3"))))