View Source Matcha.Context.Match (Matcha v0.1.6)
Functions and operators that match match specs can use in their bodies.
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.
No additional functions besides those defined in Matcha.Context.Common
can be used in this context.