Commit f828e7e 1 parent dd32ffc commit f828e7e Copy full SHA for f828e7e
File tree 2 files changed +7
-7
lines changed
2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -73,6 +73,13 @@ This only makes sense for the sequence forms:
73
73
(cl-defgeneric elsa-form-sequence-p (_this)
74
74
nil )
75
75
76
+ ; ; (elsa-form-function-call-p :: (function (mixed (or symbol nil)) bool))
77
+ (cl-defgeneric elsa-form-function-call-p (_this &optional _name) nil )
78
+
79
+ ; ; (elsa-cadr :: (function (mixed) mixed))
80
+ (cl-defgeneric elsa-cadr (thing)
81
+ " Return `cadr' of THING" )
82
+
76
83
(defun elsa-form-find-parent (form pred )
77
84
" Find first parent of FORM satisfying predicate PRED."
78
85
(declare (indent 1 ))
Original file line number Diff line number Diff line change @@ -184,9 +184,6 @@ prefix and skipped by the sexp scanner.")
184
184
(cl-defmethod elsa-form-to-lisp ((this elsa-form-keyword))
185
185
(oref this name))
186
186
187
- ; ; (elsa-form-function-call-p :: (function (mixed (or symbol nil)) bool))
188
- (cl-defgeneric elsa-form-function-call-p (_this &optional _name) nil )
189
-
190
187
(cl-defmethod elsa-get-name ((this elsa-form-symbol))
191
188
(oref this name))
192
189
@@ -364,10 +361,6 @@ prefix and skipped by the sexp scanner.")
364
361
(cl-defmethod elsa-cdr ((this elsa-form))
365
362
(cdr (elsa-form-sequence this)))
366
363
367
- ; ; (elsa-cadr :: (function (mixed) mixed))
368
- (cl-defgeneric elsa-cadr (thing)
369
- " Return `cadr' of THING" )
370
-
371
364
(cl-defmethod elsa-cadr ((this list ))
372
365
(cadr this))
373
366
You can’t perform that action at this time.
0 commit comments