on master help sign in
Documentation for partial, covering and total.
bd2fa8dGuillaume Yziquel
docs/reference/syntax-guide.rst+6
@@ -390,6 +390,12 @@ Totality
390 partial
390 partial
391 covering
391 covering
392
392
393+Sets explicitly to which extent pattern matching is terminating and/or
394+exhaustive. A partial pattern matching makes no assumption. A covering patterns
395+matching ensures that pattern matching is exhaustive on its clauses.
396+Furthermore, a total pattern matching enforces both exhaustivity and termination
397+of the evaluation of its clauses.
398+
393Implicit Coercion
399Implicit Coercion
394^^^^^^^^^^^^^^^^^
400^^^^^^^^^^^^^^^^^
395
401