Open kreely opened 11 years ago
Hi,
I think in the following (in the example part of readme.md)
(defun not-nil (x) x)
(match (list 1) ((cons hd (or (? #'non-nil tl) (let (tl '(2 3))))) (list hd tl)))
You either meant to call not-nil in the match or (to be consistent with your other examples) make it (defun non-nil....).
Regards David
Correct! Should now be fixed in both versions of the library. I should spend a bit of time with documentation.
Hi,
I think in the following (in the example part of readme.md)
(defun not-nil (x) x)
(match (list 1) ((cons hd (or (? #'non-nil tl) (let (tl '(2 3))))) (list hd tl)))
You either meant to call not-nil in the match or (to be consistent with your other examples) make it (defun non-nil....).
Regards David