RosettaCodeData/Task/Call-a-function/OCaml/call-a-function-9.ocaml
2023-07-01 13:44:08 -04:00

4 lines
234 B
Text

let ret = f ()
let a, b, c = f () (* if there are several returned values given as a tuple *)
let _ = f () (* if we want to ignore the returned value *)
let v, _ = f () (* if we want to ignore one of the returned value *)