git.fiddlerwoaroof.com
Browse code

chore: don't depend on anaphora

Edward Langley authored on 23/11/2022 22:38:46
Showing 3 changed files
... ...
@@ -9,8 +9,7 @@
9 9
   :perform (test-op (o s)
10 10
                     (funcall (intern "TEST" :should-test)
11 11
                              :package :fwoar.string-utils))
12
-  :depends-on (#:anaphora
13
-               #:alexandria
12
+  :depends-on (#:alexandria
14 13
                #:cl-containers
15 14
                #:closer-mop
16 15
                #:iterate
... ...
@@ -42,8 +42,8 @@
42 42
        ,@body)))
43 43
 
44 44
 (defmacro alambda (&body body)
45
-  `(lambda (anaphora:it)
46
-     (declare (ignorable anaphora:it))
45
+  `(lambda (it)
46
+     (declare (ignorable it))
47 47
      ,@body))
48 48
 
49 49
 (eval-when (:compile-toplevel :load-toplevel :execute)
... ...
@@ -348,9 +348,9 @@
348 348
 
349 349
 (defmacro retry-once ((flag-sym) &body body)
350 350
   `(let ((,flag-sym t))
351
-       (tagbody
352
-        start
353
-          ,@body
351
+     (tagbody
352
+      start
353
+        ,@body
354 354
         (when ,flag-sym
355 355
           (setf ,flag-sym nil)
356 356
           (go start)))))
... ...
@@ -32,7 +32,8 @@
32 32
            #:transform-first-value #:may #:defun-ct
33 33
            #:define-cluser-entrypoint #:new #:make-constructor #:dive
34 34
            #:empty-hash-table-like #:v-assoc #:defclass+
35
-           #:closing #:inits #:retry-once #:hashtable-slot-mixin #:hsm-doc #:adjoinf))
35
+           #:closing #:inits #:retry-once #:hashtable-slot-mixin #:hsm-doc #:adjoinf
36
+           #:it))
36 37
 
37 38
 
38 39
 (defpackage :fwoar.lisputils.shortcuts