src/HOLCF/IOA/ABP/Check.ML
changeset 22580 d91b4dd651d6
parent 20854 f9cf9e62d11c
child 33245 65232054ffd0
     1.1 --- a/src/HOLCF/IOA/ABP/Check.ML	Wed Apr 04 00:11:08 2007 +0200
     1.2 +++ b/src/HOLCF/IOA/ABP/Check.ML	Wed Apr 04 00:11:10 2007 +0200
     1.3 @@ -113,21 +113,21 @@
     1.4     ------------------------------------*)
     1.5  
     1.6  fun print_list (lpar, rpar, pre: 'a -> unit) (lll : 'a list) =
     1.7 -  let fun prec x = (std_output ","; pre x)
     1.8 +  let fun prec x = (Output.std_output ","; pre x)
     1.9    in
    1.10      (case lll of
    1.11 -      [] => (std_output lpar; std_output rpar)
    1.12 -    | x::lll => (std_output lpar; pre x; List.app prec lll; std_output rpar))
    1.13 +      [] => (Output.std_output lpar; Output.std_output rpar)
    1.14 +    | x::lll => (Output.std_output lpar; pre x; List.app prec lll; Output.std_output rpar))
    1.15     end;
    1.16  
    1.17 -fun pr_bool true = std_output "true"
    1.18 -|   pr_bool false = std_output "false";
    1.19 +fun pr_bool true = Output.std_output "true"
    1.20 +|   pr_bool false = Output.std_output "false";
    1.21  
    1.22 -fun pr_msg m = std_output "m"
    1.23 -|   pr_msg n = std_output "n"
    1.24 -|   pr_msg l = std_output "l";
    1.25 +fun pr_msg m = Output.std_output "m"
    1.26 +|   pr_msg n = Output.std_output "n"
    1.27 +|   pr_msg l = Output.std_output "l";
    1.28  
    1.29 -fun pr_act a = std_output (case a of
    1.30 +fun pr_act a = Output.std_output (case a of
    1.31        Next => "Next"|                         
    1.32        S_msg(ma) => "S_msg(ma)"  |
    1.33        R_msg(ma) => "R_msg(ma)"  |
    1.34 @@ -136,17 +136,17 @@
    1.35        S_ack(b)   => "S_ack(b)" |                      
    1.36        R_ack(b)   => "R_ack(b)");
    1.37  
    1.38 -fun pr_pkt (b,ma) = (std_output "<"; pr_bool b;std_output ", "; pr_msg ma; std_output ">");
    1.39 +fun pr_pkt (b,ma) = (Output.std_output "<"; pr_bool b;Output.std_output ", "; pr_msg ma; Output.std_output ">");
    1.40  
    1.41  val pr_bool_list  = print_list("[","]",pr_bool);
    1.42  val pr_msg_list   = print_list("[","]",pr_msg);
    1.43  val pr_pkt_list   = print_list("[","]",pr_pkt);
    1.44  
    1.45  fun pr_tuple (env,p,a,q,b,ch1,ch2) = 
    1.46 -        (std_output "{"; pr_bool env; std_output ", "; pr_msg_list p;  std_output ", ";
    1.47 -         pr_bool a;  std_output ", "; pr_msg_list q; std_output ", ";
    1.48 -         pr_bool b;  std_output ", "; pr_pkt_list ch1;  std_output ", ";
    1.49 -         pr_bool_list ch2; std_output "}");
    1.50 +        (Output.std_output "{"; pr_bool env; Output.std_output ", "; pr_msg_list p;  Output.std_output ", ";
    1.51 +         pr_bool a;  Output.std_output ", "; pr_msg_list q; Output.std_output ", ";
    1.52 +         pr_bool b;  Output.std_output ", "; pr_pkt_list ch1;  Output.std_output ", ";
    1.53 +         pr_bool_list ch2; Output.std_output "}");
    1.54  
    1.55  
    1.56