optima
optima copied to clipboard
Optimized Pattern Matching Library for Common Lisp
With the following program (tested on SBCL), there seems to be a conflict of some sort between optima's `match` and rutils' `iter`: (ql:quickload :rutilsx) (ql:quickload :optima) (defpackage :bug (:use :cl...
In the second example provided in the `match` docstring, `1` fails to match `2` and so the whole form evaluates to `NIL`. Sorry to have picked a boring branch name.
Eos is discontinued.
The following example from the documentation fails when actually run against Optima: ``` CL-USER> (optima:match '(("a" . 123)) ((assoc "A" 123 :test #'string-equal) t)) ``` It complains about "#'STRING-EQUAL is...
I added patterns - `[simple-]vector*` which relate to `[simple-]vector` like `list*` to `list` - `sequence[*]` which behave like the list and vector patterns but match sequences I placed the pattern...
To supersede cl-match, we need to be able to match arrays of arbitrary dimensions. e.g. an array of rank 3: ``` (array 3 (((1 2) (3 4)) ((5 6) (6...
The "list" and "list*" patterns are nice, but sometimes it's convenient to have them inline (so that the list itself doesn't need to be spliced in). Consider adding these as...