src/Pure/General/source.ML
changeset 14727 ab06e87e5c83
parent 10746 01e2d857fb78
child 14981 e73f8140af78
--- a/src/Pure/General/source.ML	Mon May 10 19:25:59 2004 +0200
+++ b/src/Pure/General/source.ML	Mon May 10 19:26:11 2004 +0200
@@ -102,12 +102,7 @@
 
 (* list source *)
 
-(*limiting the input buffer considerably improves performance*)
-val limit = 4000;
-
-fun drain_list _ xs = (take (limit, xs), drop (limit, xs));
-
-fun of_list xs = make_source [] xs default_prompt drain_list;
+fun of_list xs = make_source [] xs default_prompt (fn _ => fn xs => (xs, []));
 val of_string = of_list o explode;
 
 fun exhausted src = of_list (exhaust src);