aboutsummaryrefslogtreecommitdiff
path: root/dev
diff options
context:
space:
mode:
authorMaxime Dénès2017-06-13 11:11:28 +0200
committerMaxime Dénès2017-06-13 11:11:28 +0200
commit5bf9c993d3ef15ecf4c6d5c12f23f9c2fe67dfa7 (patch)
treec19419118263faa9329a477feed75144dda0ffcf /dev
parent5b932123c05c6ef75333dec4d5b91cce403e935e (diff)
parentaccde4d40c89f0a40caacb9e91db61f204b05918 (diff)
Merge PR#714: Print feature Proof-of-Concept (episode 2)
Diffstat (limited to 'dev')
-rw-r--r--dev/doc/changes.txt10
1 files changed, 10 insertions, 0 deletions
diff --git a/dev/doc/changes.txt b/dev/doc/changes.txt
index bcda4ff50a..631b5f5aaf 100644
--- a/dev/doc/changes.txt
+++ b/dev/doc/changes.txt
@@ -10,6 +10,16 @@ will fail to compile now. They should switch to `Bytes.t`
* ML API *
+Added two functions for declaring hooks to be executed in reduction
+functions when some given constants are traversed:
+
+ declare_reduction_effect: to declare a hook to be applied when some
+ constant are visited during the execution of some reduction functions
+ (primarily cbv).
+
+ set_reduction_effect: to declare a constant on which a given effect
+ hook should be called.
+
We renamed the following functions:
Context.Rel.Declaration.fold -> Context.Rel.Declaration.fold_constr