Future.join_result;
authorwenzelm
Tue, 21 Oct 2008 16:52:59 +0200
changeset 28646 3a8d75c935ce
parent 28645 605a3b1ef6ba
child 28647 8068cdc84e7e
Future.join_result;
src/Pure/Concurrent/par_list.ML
--- a/src/Pure/Concurrent/par_list.ML	Tue Oct 21 15:01:18 2008 +0200
+++ b/src/Pure/Concurrent/par_list.ML	Tue Oct 21 16:52:59 2008 +0200
@@ -32,7 +32,7 @@
     let
       val group = TaskQueue.new_group ();
       val futures = map (fn x => Future.future (SOME group) [] true (fn () => f x)) xs;
-      val _ = List.app (ignore o Future.join_results o single) futures;
+      val _ = List.app (ignore o Future.join_result) futures;
     in Future.join_results futures end
   else map (Exn.capture f) xs;