Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Replace coerce with map to guarantee consistency in between?. Fixes #5.

  • Loading branch information...
commit d246c1d596e8f16c2c1d0715b7b51cde4702d24b 1 parent 738ad65
@Ramarren authored
Showing with 3 additions and 1 deletion.
  1. +3 −1 parsers.lisp
4 parsers.lisp
@@ -210,7 +210,9 @@ parsers."
(setf zero-width nil)
(make-instance 'parser-possibility
- :tree (coerce nil result-type)
+ ;; use map to gurantee the result type is handled the
+ ;; same way as in the case above
+ :tree (map result-type #'identity nil)
:suffix inp))))))))))))
(defun many? (parser)
Please sign in to comment.
Something went wrong with that request. Please try again.