We want a way to bind the variables in optional subsequences to nil
while still matching. For example, an optional vector won't match
the fallback value nil for &optional.
Something like the below
;; => (1 2 nil nil)
(pcase (list 1 2)
((loopy (a b &optional ([c d] loopy-nil)))
(list a b c d)))
;; => (1 2 nil nil)
(pcase (list 1 2)
;; Look like a function call?:
((loopy (a b &optional ([c d] (loopy-nil))))
(list a b c d)))
We want a way to bind the variables in optional subsequences to nil while still matching. For example, an optional vector won't match the fallback value
nil
for&optional
.Something like the below