aboutsummaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorPierre Letouzey2015-12-15 11:15:00 +0100
committerPierre Letouzey2015-12-15 11:24:21 +0100
commit4b197ed247d1f30ff40fa59f85b070766f305bea (patch)
tree86f9a765c493bc1eaf2c3cabfbec64ad3cfa78d5 /kernel
parentce395ca02311bbe6ecc1b2782e74312272dd15ec (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')
0 files changed, 0 insertions, 0 deletions