src/Pure/Isar/proof.ML
changeset 28458 0966ac3f4a40
parent 28452 a72670460833
child 28627 63663cfa297c
equal deleted inserted replaced
28457:25669513fd4c 28458:0966ac3f4a40
   961     |> int ? (fn goal_state =>
   961     |> int ? (fn goal_state =>
   962       (case test_proof goal_state of
   962       (case test_proof goal_state of
   963         Exn.Result (SOME _) => goal_state
   963         Exn.Result (SOME _) => goal_state
   964       | Exn.Result NONE => error (fail_msg (context_of goal_state))
   964       | Exn.Result NONE => error (fail_msg (context_of goal_state))
   965       | Exn.Exn Exn.Interrupt => raise Exn.Interrupt
   965       | Exn.Exn Exn.Interrupt => raise Exn.Interrupt
   966       | Exn.Exn exn => raise Exn.EXCEPTIONS ([exn], fail_msg (context_of goal_state))))
   966       | Exn.Exn exn => raise Exn.EXCEPTIONS ([exn, ERROR (fail_msg (context_of goal_state))])))
   967   end;
   967   end;
   968 
   968 
   969 in
   969 in
   970 
   970 
   971 val have = gen_have Attrib.attribute ProofContext.bind_propp;
   971 val have = gen_have Attrib.attribute ProofContext.bind_propp;