Hello,

It is documented in stdlib reference:

  https://caml.inria.fr/pub/docs/manual-ocaml/libref/Pervasives.html

Best wishes,
Nicolás

On Tue, Nov 21, 2017 at 5:10 PM, SF Markus Elfring <elfring@users.sourceforge.net> wrote:
Hello,

The programming language “OCaml” supports the concatenation of strings by
a few interfaces.

Two of them like “Printf.sprintf” and “String.concat” are documented to some degree.
I wonder about the current situation around the operator “^”.

* Is a more useful explanation missing in the official OCaml manual?
  https://caml.inria.fr/pub/docs/manual-ocaml/coreexamples.html#sec9
  https://caml.inria.fr/pub/docs/manual-ocaml/lex.html#sec82

* It is mentioned in the section “Optional Arguments” of the book “Real World OCaml”.
  https://realworldocaml.org/v1/en/html/variables-and-functions.html#idm181619803616

* Syntax comparison
  http://rigaux.org/language-study/syntax-across-languages/Strng.html#StrngStrnCnct

Regards,
Markus

--
Caml-list mailing list.  Subscription management and archives:
https://sympa.inria.fr/sympa/arc/caml-list
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
Bug reports: http://caml.inria.fr/bin/caml-bugs