guicho271828 / trivia

Pattern Matcher Compatible with Optima
Other
332 stars 22 forks source link

assoc pattern raises a type error when matching #54

Closed PuercoPop closed 8 years ago

PuercoPop commented 8 years ago

The following code raises a type error saying 1 is not of type list

(trivia:match '(1)
  ((assoc :foo val) (list 'found val)))
guicho271828 commented 8 years ago

that's true... well #53 is not a degradation, I think this should also be fixed. unfortunately I have to leave home now. will be fixed soon --- perhaps would you do that? adding handler-bind or something around assoc.

PuercoPop commented 8 years ago

Yes, this issue was present before #53