From: SF Markus Elfring <elfring@users.sourceforge.net>
To: caml-list@inria.fr
Subject: [Caml-list] Checking support for string concatenation by OCaml
Date: Tue, 21 Nov 2017 17:10:14 +0100 [thread overview]
Message-ID: <66db11ce-9b53-918e-addb-6bcc727a6464@users.sourceforge.net> (raw)
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
next reply other threads:[~2017-11-21 16:10 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-11-21 16:10 SF Markus Elfring [this message]
2017-11-21 16:15 ` Nicolás Ojeda Bär
2017-11-21 16:28 ` SF Markus Elfring
2017-11-21 16:45 ` Yawar Amin
2017-11-21 17:42 ` Gabriel Scherer
2017-11-21 19:22 ` Rodolphe Lepigre
2017-11-22 10:18 ` David Allsopp
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=66db11ce-9b53-918e-addb-6bcc727a6464@users.sourceforge.net \
--to=elfring@users.sourceforge.net \
--cc=caml-list@inria.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).