aboutsummaryrefslogtreecommitdiff
path: root/plugins/rtauto
diff options
context:
space:
mode:
authorHugo Herbelin2019-11-17 20:55:18 +0100
committerHugo Herbelin2020-04-13 13:08:40 +0200
commit730f21fb1b6329b9c16dd0021f5a8e2d573fcaae (patch)
treeed0e1fe126aeb442bfb5c08d0ce5cd19122fa862 /plugins/rtauto
parent227520b14e978e19d58368de873521a283aecedd (diff)
Simplifying the declaration of constants bound to primitive projections.
We factorize code from declareInd.ml and inductiveops.ml which was already existing in record.ml. We keep expansion of local definitions in the type of fields of primitive records while these are not expanded in the non-primitive case. This is to be consistent with what Indtypes.compute_projections is doing. See discussion at #11135. We keep the unused code from inductiveops.ml for possible future use though. Include improvements contributed by Gaƫtan Gilbert.
Diffstat (limited to 'plugins/rtauto')
0 files changed, 0 insertions, 0 deletions