diff options
| author | ppedrot | 2013-08-28 07:44:10 +0000 |
|---|---|---|
| committer | ppedrot | 2013-08-28 07:44:10 +0000 |
| commit | 90a73b08da2fe80b0298997f1f9adb65afdfbf54 (patch) | |
| tree | a3d0afeadbadfb7f3ecfc5a0df0de89c5c07a3af /lib/hashcons.ml | |
| parent | 3d35bfd5b25c6a37ab9d1cf62b51b4d718553f59 (diff) | |
Removing some lone List.assoc & List.mem in lib.
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@16738 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'lib/hashcons.ml')
| -rw-r--r-- | lib/hashcons.ml | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/lib/hashcons.ml b/lib/hashcons.ml index b33a200584..9a5f20f0c4 100644 --- a/lib/hashcons.ml +++ b/lib/hashcons.ml @@ -92,15 +92,6 @@ let recursive_hcons h u = let rec hrec x = hc (hrec,u) x in hrec -(* If the structure may contain loops, use this one. *) -let recursive_loop_hcons h u = - let hc = h () in - let rec hrec visited x = - if List.memq x visited then x - else hc (hrec (x::visited),u) x - in - hrec [] - (* For 2 mutually recursive types *) let recursive2_hcons h1 h2 u1 u2 = let hc1 = h1 () in |
