3 ms·
It ends in ";;". If that's not a typo, and it's semantically significant that there are two semicolons instead of one, that sounds quite finicky.
by hyperpape 2y ago
It ends in ";;". If that's not a typo, and it's semantically significant that there are two semicolons instead of one, that sounds quite finicky.
- Joker_vD 2y agoThe answer to the question “When do I need the ;; within OCaml source code?” is never. It's not a part of the language and is only used by the interpreter as an end of input mark. Historical note: In CAML Light, the predecessor of OCaml, double semicolons were mandatory. For this reason they are quite common in old code originally written in CAML Light or written in the early days of OCaml. These days they are considered a bad style. from https://baturin.org/docs/ocaml-faq/#the-double-semicolon https://baturin.org/docs/ocaml-faq/#the-double-semicolon