Clarified comment.
authorballarin
Thu, 11 Dec 2008 17:55:51 +0100
changeset 29209 c2a750c8a37b
parent 29208 b0c81b9a0133
child 29210 4025459e3f83
Clarified comment.
src/Pure/library.ML
--- a/src/Pure/library.ML	Wed Dec 10 17:19:25 2008 +0100
+++ b/src/Pure/library.ML	Thu Dec 11 17:55:51 2008 +0100
@@ -1,5 +1,4 @@
 (*  Title:      Pure/library.ML
-    ID:         $Id$
     Author:     Lawrence C Paulson, Cambridge University Computer Laboratory
     Author:     Markus Wenzel, TU Muenchen
 
@@ -491,7 +490,7 @@
   | split_last [x] = ([], x)
   | split_last (x :: xs) = apfst (cons x) (split_last xs);
 
-(*find the position of an element in a list*)
+(*find position of first element satisfying a predicate*)
 fun find_index pred =
   let fun find (_: int) [] = ~1
         | find n (x :: xs) = if pred x then n else find (n + 1) xs;