(define foo (recursive-parser (sequence (any-of (is #\a) foo) (is #\b)))) (parse foo "abb") ;; Expected output: ;; ((#\a #\b) #\b) ;; # ;; Actual output: ;; (#\a #\b) ;; #