m2ym / optima

Optimized Pattern Matching Library for Common Lisp
271 stars 19 forks source link

Example doesn't work? #117

Closed spaceotter closed 9 years ago

spaceotter commented 9 years ago

Maybe I'm missing something... CL-USER> (optima:match 1 ((guard x (eql x 1)) t)) ; Evaluation aborted on #<SIMPLE-ERROR "Non-linear pattern: ~S" {1007CCFA43}>.

m2ym commented 9 years ago

Maybe guard is missing and should be optima:guard here.

spaceotter commented 9 years ago

Sorry, I'm still new at lisp... I need to use-package.