caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* Concatenation of static strings?
@ 2008-01-19  3:32 Erik de Castro Lopo
  2008-01-19  6:50 ` [Caml-list] " David Allsopp
  2008-01-19 10:55 ` David Baelde
  0 siblings, 2 replies; 10+ messages in thread
From: Erik de Castro Lopo @ 2008-01-19  3:32 UTC (permalink / raw)
  To: caml-list

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.


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2008-01-26 19:58 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-01-19  3:32 Concatenation of static strings? Erik de Castro Lopo
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

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).