avoid module dependency cycles
authorAndreas Lochbihler
Tue, 15 Sep 2015 22:25:06 +0200
changeset 61180 e4716b792713
parent 61179 16775cad1a5c
child 61181 b6b5e41d261b
avoid module dependency cycles
src/HOL/Library/Predicate_Compile_Alternative_Defs.thy
--- a/src/HOL/Library/Predicate_Compile_Alternative_Defs.thy	Tue Sep 15 17:09:13 2015 +0200
+++ b/src/HOL/Library/Predicate_Compile_Alternative_Defs.thy	Tue Sep 15 22:25:06 2015 +0200
@@ -224,6 +224,18 @@
 code_pred List.member
   by(auto simp add: List.member_def elim: list.set_cases)
 
+code_identifier constant member_i_i
+   \<rightharpoonup> (SML) "List.member_i_i"
+  and (OCaml) "List.member_i_i"
+  and (Haskell) "List.member_i_i"
+  and (Scala) "List.member_i_i"
+
+code_identifier constant member_i_o
+   \<rightharpoonup> (SML) "List.member_i_o"
+  and (OCaml) "List.member_i_o"
+  and (Haskell) "List.member_i_o"
+  and (Scala) "List.member_i_o"
+
 section \<open>Setup for String.literal\<close>
 
 setup \<open>Predicate_Compile_Data.ignore_consts [@{const_name "STR"}]\<close>