Declares List_ as a synonym for List
authorpaulson
Thu, 28 Nov 1996 12:36:31 +0100
changeset 2271 7c4744ed8fc3
parent 2270 d7513875b2b8
child 2272 d6abc468e40c
Declares List_ as a synonym for List
src/Pure/library.ML
--- a/src/Pure/library.ML	Thu Nov 28 12:31:33 1996 +0100
+++ b/src/Pure/library.ML	Thu Nov 28 12:36:31 1996 +0100
@@ -112,6 +112,10 @@
 fun andl [] = true
   | andl (x :: xs) = x andalso andl xs;
 
+(*Needed because several object-logics declare the theory, therefore structure,
+  List.*)
+structure List_ = List;
+
 (*exists pred [x1, ..., xn] ===> pred x1 orelse ... orelse pred xn*)
 fun exists (pred: 'a -> bool) : 'a list -> bool =
   let fun boolf [] = false