Closed PuercoPop closed 8 years ago
no, your example seems correct, its trivia's bug. thanks for reporting!
the quick fix for this is using
(trivia:ematch '(shader foo :fragment "")
((list (symbol (name (trivia:guard shader (string-equal shader "shader")))) name type value)
(list name type value)))
(FOO :FRAGMENT "")
there seems to be a problem in lifting the guard pattern.
Thanks for the prompt fix
Hi, when evaluating
I get
In optima it works
Am I miss using the guard subpattern?