exception Value of int * string option let () = try let m = (1, Some "xyu") in raise @@ Value mwith| Value (_, Some x) -> print_endline x
Standard input is empty
File "prog.ml", line 4, characters 37-44: Error: The constructor Value expects 2 argument(s), but is applied here to 1 argument(s)
Standard output is empty
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!