tweak monads-lib
[lambda.git] / code / monads.ml
index 0b6af2e..ae0ecc5 100644 (file)
@@ -676,7 +676,6 @@ end = struct
       let run_exn u =
         let w = Wrapped.bind u (fun t -> match t with
           | Success a -> Wrapped.unit a
-          (* | _ -> Wrapped.fail () *)
           | Error e -> raise (Err.Exc e))
         in Wrapped.run_exn w
     end
@@ -706,7 +705,6 @@ end = struct
         let run_exn u =
           let w = Wrapped.bind u (fun t -> match t with
             | Success a -> Wrapped.unit a
-            (* | _ -> Wrapped.fail () *)
             | Error e -> raise (Err.Exc e))
           in Wrapped.run_exn w
       end)
@@ -764,7 +762,6 @@ end = struct
         let run_exn u =
           let w = Wrapped.bind u (fun t -> match t with
             | Success a -> Wrapped.unit a
-            (* | _ -> Wrapped.fail () *)
             | Error e -> raise (Err.Exc e))
           in Wrapped.run_exn w
       end)