<?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="2006/02/ef9041bde38bdf173791185ae5fd1fb8"
  from="Jon Harrop &lt;jon@f...&gt;"
  author="Jon Harrop"
  date="2006-02-10T11:21:11"
  subject="Re: [Caml-list] Toplevel Wish"
  prev="2006/02/e0ddfd6c321b9cf872ded255872ab3b5"
  next="2006/02/56f6eb6c9909b471b274b363f74ad960"
  prev-in-thread="2006/02/3d07949351cb5804c4a2ac65a58ba9e2"
  next-in-thread="2006/02/e0ddfd6c321b9cf872ded255872ab3b5"
  prev-thread="2006/02/581feba66dccc44b766e0be06af8e26f"
  next-thread="2006/02/de0be9fcd3c4f381b75f2b23cf4e4132"
  root="../../"
  period="month"
  listname="caml-list"
  title="Archives of the Caml mailing list">

<thread subject="[Caml-list] Toplevel Wish">
<msg 
  url="2006/02/2ef66e17ed240db9efd786e9235fb123"
  from="Jonathan Roewen &lt;jonathan.roewen@g...&gt;"
  author="Jonathan Roewen"
  date="2006-02-10T02:58:15"
  subject="[Caml-list] Toplevel Wish">
<msg 
  url="2006/02/3d07949351cb5804c4a2ac65a58ba9e2"
  from="Eric Cooper &lt;ecc@c...&gt;"
  author="Eric Cooper"
  date="2006-02-10T03:05:35"
  subject="Re: [Caml-list] Toplevel Wish">
<msg 
  url="2006/02/ef9041bde38bdf173791185ae5fd1fb8"
  from="Jon Harrop &lt;jon@f...&gt;"
  author="Jon Harrop"
  date="2006-02-10T11:21:11"
  subject="Re: [Caml-list] Toplevel Wish">
</msg>
</msg>
<msg 
  url="2006/02/e0ddfd6c321b9cf872ded255872ab3b5"
  from="Michel Mauny &lt;Michel.Mauny@i...&gt;"
  author="Michel Mauny"
  date="2006-02-10T06:10:19"
  subject="Re: [Caml-list] Toplevel Wish">
</msg>
</msg>
</thread>

<contents>
On Friday 10 February 2006 03:05, Eric Cooper wrote:
&gt; # module P = Printf;;
&gt; module P :
&gt;   sig
&gt;     val fprintf : out_channel -&gt; ('a, out_channel, unit) format -&gt; 'a
&gt;     val printf : ('a, out_channel, unit) format -&gt; 'a
&gt;     ....
&gt;   end

Or if you don't want to pollute the namespace with a module called P:

# module Printf = Printf;;
module Printf :
  sig
    val fprintf : out_channel -&gt; ('a, out_channel, unit) format -&gt; 'a
    val printf : ('a, out_channel, unit) format -&gt; 'a
    ...
  end

-- 
Dr Jon D Harrop, Flying Frog Consultancy Ltd.
Objective CAML for Scientists
http://www.ffconsultancy.com/products/ocaml_for_scientists

</contents>

</message>

