string-case

API Reference

string-case

string-case is a macro that generates specialised decision trees to dispatch on string equality

STRING-CASE

  • Macro STRING-CASE ((string &key (default '(error "no match"))) &body cases)
    (string-case (string &key default) case*) case ::= string form* | t form* Where t is the default case.