Undefined values: Difference between revisions

→‎{{header|OCaml}}: broke line too long
(→‎{{header|OCaml}}: broke line too long)
Line 56:
=={{header|OCaml}}==
 
<lang ocaml>(* There is no undefined value in OCaml, but if you really need this you can use the built-in "option" type *)
but if you really need this you can use the built-in "option" type.
(* It is defined like this: type 'a option = None | Some of 'a *)
 
let inc = function
Anonymous user