type test = T of int * float * string let x = 1, 1.0, "hello" let y = T x
Standard input is empty
File "prog.ml", line 5, characters 8-11: The constructor T expects 3 argument(s), but is here applied 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!