summaryrefslogtreecommitdiff
path: root/libs/util.ml
diff options
context:
space:
mode:
authorAlex AUVOLAT <alex.auvolat@ens.fr>2014-06-01 11:40:43 +0200
committerAlex AUVOLAT <alex.auvolat@ens.fr>2014-06-01 11:40:43 +0200
commitc4a24372b70180f23b7a56a81533e86ebb8509e7 (patch)
treed7a97ab4aa99d3d27331edb83f672398d030e41d /libs/util.ml
parent727354805f3c33d17bff18b74fc688b631e85f41 (diff)
downloadSemVerif-Projet-master.tar.gz
SemVerif-Projet-master.zip
Fix assertions ; fix environment equality test ; fix varialbe removal.HEADmaster
Diffstat (limited to 'libs/util.ml')
-rw-r--r--libs/util.ml6
1 files changed, 3 insertions, 3 deletions
diff --git a/libs/util.ml b/libs/util.ml
index b1fcdc4..30cf5bf 100644
--- a/libs/util.ml
+++ b/libs/util.ml
@@ -2,11 +2,11 @@ exception TypeError
module VarMap = Mapext.Make(String)
-let rec fix f s =
+let rec fix equal f s =
let fs = f s in
- if fs = s
+ if equal fs s
then fs
- else fix f fs
+ else fix equal f fs
let (@@) f x = f x