Dogma.Rules.MatchInCondition
Disallows use of the match operator in the conditional constructs if and
unless. This is because it is often intended to be == instead, but was
mistyped. Also, since a failed match raises a MatchError, the conditional
construct is largely redundant.
The following would be invalid:
if {x, y} = z do
something
end
Summary
| test(script, list2 \\ []) | Callback implementation for |
Functions
Callback implementation for Dogma.Rule.test/2.