src/Pure/Concurrent/par_list_sequential.ML
author wenzelm
Thu, 29 Jan 2015 15:21:16 +0100
changeset 59468 fe6651760643
parent 59004 6573e6d64ec8
permissions -rw-r--r--
explicit threads_stack_limit (for recent Poly/ML SVN versions), which leads to soft interrupt instead of exhaustion of virtual memory, which is particularly relevant for the bigger address space of x86_64;

(*  Title:      Pure/Concurrent/par_list_sequential.ML
    Author:     Makarius

Dummy version of parallel list combinators -- plain sequential evaluation.
*)

structure Par_List: PAR_LIST =
struct

fun managed_results _ f = map (Exn.capture f);
fun map_name _ = map;
val map = map;
val map_independent = map;
val get_some = get_first;
val find_some = find_first;
val exists = exists;
val forall = forall;

end;