diff options
| author | Hugo Herbelin | 2015-12-15 14:03:12 +0100 |
|---|---|---|
| committer | Hugo Herbelin | 2015-12-15 14:34:07 +0100 |
| commit | a582737fc27da2c03c8c57c773fc4854c1e88d7a (patch) | |
| tree | 98436d432d725a556d630f07ee36bec41e0ab5e6 /engine/termops.ml | |
| parent | 003fe3d5e60b8d89b28e718e3d048818caceb56a (diff) | |
API: documenting context_chop and removing a duplicate.
Diffstat (limited to 'engine/termops.ml')
| -rw-r--r-- | engine/termops.ml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engine/termops.ml b/engine/termops.ml index db0f1e4db5..c10c55220b 100644 --- a/engine/termops.ml +++ b/engine/termops.ml @@ -992,8 +992,8 @@ let on_judgment f j = { uj_val = f j.uj_val; uj_type = f j.uj_type } let on_judgment_value f j = { j with uj_val = f j.uj_val } let on_judgment_type f j = { j with uj_type = f j.uj_type } -(* Cut a context ctx in 2 parts (ctx1,ctx2) with ctx1 containing k - variables; skips let-in's *) +(* Cut a context ctx in 2 parts (ctx1,ctx2) with ctx1 containing k non let-in + variables skips let-in's; let-in's in the middle are put in ctx2 *) let context_chop k ctx = let rec chop_aux acc = function | (0, l2) -> (List.rev acc, l2) |
