Macro: MATCH-SEQ

Documentation

Tries to match the supplied matchers in sequence with characters in the input stream.

Source

(defmacro match-seq (&rest sequence)
  "Tries to match the supplied matchers in sequence with characters in the input stream."
  `(and ,@(loop for s in sequence
                collect `(match ,s))))
Source Context