src/Pure/Concurrent/par_exn.ML
changeset 44271 89f40a5939b2
parent 44270 3eaad39e520c
child 44296 0c4411e2fc90
     1.1 --- a/src/Pure/Concurrent/par_exn.ML	Thu Aug 18 17:53:32 2011 +0200
     1.2 +++ b/src/Pure/Concurrent/par_exn.ML	Thu Aug 18 18:07:40 2011 +0200
     1.3 @@ -9,7 +9,7 @@
     1.4  sig
     1.5    val serial: exn -> serial * exn
     1.6    val make: exn list -> exn
     1.7 -  val dest: exn -> (serial * exn) list option
     1.8 +  val dest: exn -> exn list option
     1.9    val release_all: 'a Exn.result list -> 'a list
    1.10    val release_first: 'a Exn.result list -> 'a list
    1.11  end;
    1.12 @@ -43,7 +43,7 @@
    1.13      [] => Exn.Interrupt
    1.14    | es => Par_Exn es);
    1.15  
    1.16 -fun dest (Par_Exn exns) = SOME (map (`the_serial) exns)
    1.17 +fun dest (Par_Exn exns) = SOME exns
    1.18    | dest exn = if Exn.is_interrupt exn then SOME [] else NONE;
    1.19  
    1.20