shadchen icon indicating copy to clipboard operation
shadchen copied to clipboard

Slight error in Readme.md

Open kreely opened this issue 12 years ago • 1 comments

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

kreely avatar Nov 30 '12 02:11 kreely

Correct! Should now be fixed in both versions of the library. I should spend a bit of time with documentation.

VincentToups avatar Nov 30 '12 08:11 VincentToups