<?xml version="1.0" encoding="ISO-8859-1"?>

<!DOCTYPE message PUBLIC
  "-//MLarc//DTD MLarc output files//EN"
  "../../mlarc.dtd"[
  <!ATTLIST message
    listname CDATA #REQUIRED
    title CDATA #REQUIRED
  >
]>

  <?xml-stylesheet href="../../mlarc.xsl" type="text/xsl"?>


<message 
  url="2003/12/576181dda3414f60cad6d20f9b330e3e"
  from="Brian Hurt &lt;bhurt@s...&gt;"
  author="Brian Hurt"
  date="2003-12-10T00:11:31"
  subject="Re: [Caml-list] Long constant strings?"
  prev="2003/12/48b09bc6ac8e3095455c95f23e77515a"
  next="2003/12/9ee9052e21abd29b23b1757d11f1890b"
  prev-in-thread="2003/12/48b09bc6ac8e3095455c95f23e77515a"
  prev-thread="2003/12/336da68464ef2651ac3a251d0d53f270"
  next-thread="2003/12/0a730e95e9a98ca965d70ceb4206faf5"
  root="../../"
  period="month"
  listname="caml-list"
  title="Archives of the Caml mailing list">

<thread subject="[Caml-list] Long constant strings?">
<msg 
  url="2003/12/f45e2fe002c68cd11d6075fce71514cc"
  from="Brian Hurt &lt;bhurt@s...&gt;"
  author="Brian Hurt"
  date="2003-12-09T23:35:02"
  subject="[Caml-list] Long constant strings?">
<msg 
  url="2003/12/48b09bc6ac8e3095455c95f23e77515a"
  from="David Brown &lt;caml-list@d...&gt;"
  author="David Brown"
  date="2003-12-09T23:58:04"
  subject="Re: [Caml-list] Long constant strings?">
<msg 
  url="2003/12/576181dda3414f60cad6d20f9b330e3e"
  from="Brian Hurt &lt;bhurt@s...&gt;"
  author="Brian Hurt"
  date="2003-12-10T00:11:31"
  subject="Re: [Caml-list] Long constant strings?">
</msg>
</msg>
</msg>
</thread>

<contents>
On Tue, 9 Dec 2003, David Brown wrote:

&gt; On Tue, Dec 09, 2003 at 06:35:42PM -0600, Brian Hurt wrote:
&gt; &gt; Am I missing some nice way of doing this?  If not, is there any chance 
&gt; &gt; that a future rev of the compiler will recognize this idiom and 
&gt; &gt; concatenate the strings at compile time?
&gt; 
&gt; Why not:
&gt; 
&gt;  let text = "\
&gt;    \001\002\003\004\005\006\007\008\009\010\012\013\014\015\016\
&gt;    \001\002\003\004\005\006\007\008\009\010\012\013\014\015\016\
&gt;    ...
&gt;    "
&gt; 
&gt; Dave
&gt; 

Thank you!  That's *exactly* what I want.

My stupid.

-- 
"Usenet is like a herd of performing elephants with diarrhea -- massive,
difficult to redirect, awe-inspiring, entertaining, and a source of
mind-boggling amounts of excrement when you least expect it."
                                - Gene Spafford 
Brian

-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners

</contents>

</message>

