From: Erik de Castro Lopo <mle+ocaml@mega-nerd.com>
To: caml-list@yquem.inria.fr
Subject: Concatenation of static strings?
Date: Sat, 19 Jan 2008 14:32:59 +1100 [thread overview]
Message-ID: <20080119143259.46752d11.mle+ocaml@mega-nerd.com> (raw)
Hi all,
I find myself doing things like the following:
let print_usage () =
print_endline
( "\n" ^
"Usage : progname [options]\n" ^
" progname [options] <config file>\n"
)
and wondering, when those strings are concatenated. Is that done
at compile time?
Cheers,
Erik
--
-----------------------------------------------------------------
Erik de Castro Lopo
-----------------------------------------------------------------
The difference between a violin and a viola is that a viola
burns longer.
next reply other threads:[~2008-01-19 3:33 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-01-19 3:32 Erik de Castro Lopo [this message]
2008-01-19 6:50 ` [Caml-list] " David Allsopp
2008-01-19 7:36 ` Erik de Castro Lopo
2008-01-19 10:55 ` David Baelde
2008-01-24 23:02 ` Ashish Agarwal
2008-01-25 1:57 ` Oliver Bandel
2008-01-25 10:47 ` Loup Vaillant
2008-01-26 13:27 ` Ashish Agarwal
2008-01-26 16:13 ` Jon Harrop
2008-01-26 19:58 ` Oliver Bandel
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=20080119143259.46752d11.mle+ocaml@mega-nerd.com \
--to=mle+ocaml@mega-nerd.com \
--cc=caml-list@yquem.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