diff options
Diffstat (limited to 'extra.lisp')
-rw-r--r-- | extra.lisp | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -42,3 +42,11 @@ (defparameter whitespace (optional (many (unit whitespace?)))) + +(defun separated-list (p separator) + (comp ((v p) + (sep (optional separator)) + (vn (if sep + (separated-list p separator) + nothing))) + (cons v vn))) |