diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2021-07-19 06:58:36 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2021-07-19 06:58:36 -0700 |
commit | c6f90c2d21f402af5eb7ca3f17f03aee019b3f01 (patch) | |
tree | 801ed22899b5cb2b3f58e4b8de6c579273ee143b | |
parent | 43bf15eba7593574fcd54ae425835059b99b3173 (diff) | |
download | txr-c6f90c2d21f402af5eb7ca3f17f03aee019b3f01.tar.gz txr-c6f90c2d21f402af5eb7ca3f17f03aee019b3f01.tar.bz2 txr-c6f90c2d21f402af5eb7ca3f17f03aee019b3f01.zip |
op: rename argument for consistency.
* stdlib/op.tl (sys:op-meta-p): Rename expr argument to exp. The symbol
is not causing an issue here, but it's good to rename it for consistency
with sys:op-rec-p and to thwart future problems.
-rw-r--r-- | stdlib/op.tl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/stdlib/op.tl b/stdlib/op.tl index 236d0c25..305a82fa 100644 --- a/stdlib/op.tl +++ b/stdlib/op.tl @@ -46,8 +46,8 @@ ((sys:setq i (succ i))) (sys:setq l (cons (gensym `arg-@(if (plusp i) i "rest")-`) l))))) -(defun sys:op-meta-p (expr) - (tree-case expr +(defun sys:op-meta-p (exp) + (tree-case exp ((x y . r) (and (null r) (cond ((eq x 'sys:expr) (sys:op-meta-p y)) |