diff options
| author | Pierre Letouzey | 2015-12-15 11:15:00 +0100 |
|---|---|---|
| committer | Pierre Letouzey | 2015-12-15 11:24:21 +0100 |
| commit | 4b197ed247d1f30ff40fa59f85b070766f305bea (patch) | |
| tree | 86f9a765c493bc1eaf2c3cabfbec64ad3cfa78d5 /kernel/type_errors.ml | |
| parent | ce395ca02311bbe6ecc1b2782e74312272dd15ec (diff) | |
Extraction: replace unused variable names by _ in funs and matchs (fix #2842)
This is done via a unique pass which seems roughly linear in practice,
even on big developments like CompCert. There's a List.nth in an env at
each MLrel, that could be made logarithmic if necessary via Okasaki's
skew list for instance.
Another approach would be to keep names (as a form of documentation), but
prefix them by _ to please OCaml's warnings. For now, let's be radical and
use the _ pattern.
Diffstat (limited to 'kernel/type_errors.ml')
0 files changed, 0 insertions, 0 deletions
