View Source Matcha.Context.Match (Matcha v0.1.10)

Functions and operators that :match match specs can use.

Specs created in this are unique in that they can differentiate between specs that fail to find a matching clause for the given input, and specs with matching clauses that literally return the false value. They return :no_match in the former case, and {:matched, result} tuples in the latter, where result can be a literal false returned from a clause.