<?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/0010bbc7928d8dab73de090fe6fab8fc"
  from="brogoff &lt;brogoff@s...&gt;"
  author="brogoff"
  date="2006-02-21T03:55:53"
  subject="Re: [Caml-list] Rephrasing of dynamic module selection problem"
  prev="2006/02/166e73eb9483d32d01c6586a068b6d68"
  next="2006/02/53cdf1264bc18372da26d6424f48502f"
  prev-in-thread="2006/02/166e73eb9483d32d01c6586a068b6d68"
  next-in-thread="2006/02/368bb3c5a0430f6328ee3b5f7ee8bd03"
  prev-thread="2006/02/c00cd9129fc81180e4199583825836cf"
  next-thread="2006/02/e6065b7bd89d7f0ba4c9a94c8db316b9"
  root="../../"
  period="month"
  listname="caml-list"
  title="Archives of the Caml mailing list">

<thread subject="Rephrasing of dynamic module selection problem">
<msg 
  url="2006/02/6f98d2c26e5095e71bb6eaa96087bdde"
  from="Nathan Cooprider &lt;coop@c...&gt;"
  author="Nathan Cooprider"
  date="2006-02-21T00:54:44"
  subject="Rephrasing of dynamic module selection problem">
<msg 
  url="2006/02/166e73eb9483d32d01c6586a068b6d68"
  from="Martin Jambon &lt;martin_jambon@e...&gt;"
  author="Martin Jambon"
  date="2006-02-21T03:50:53"
  subject="Re: &quot;ocaml_beginners&quot;::[] Rephrasing of dynamic module selection problem">
</msg>
<msg 
  url="2006/02/0010bbc7928d8dab73de090fe6fab8fc"
  from="brogoff &lt;brogoff@s...&gt;"
  author="brogoff"
  date="2006-02-21T03:55:53"
  subject="Re: [Caml-list] Rephrasing of dynamic module selection problem">
<msg 
  url="2006/02/368bb3c5a0430f6328ee3b5f7ee8bd03"
  from="Andreas Rossberg &lt;AndreasRossberg@w...&gt;"
  author="Andreas Rossberg"
  date="2006-02-21T12:13:55"
  subject="Re: [Caml-list] Rephrasing of dynamic module selection problem">
</msg>
</msg>
<msg 
  url="2006/02/4a8e69b079aae473911bfc0b65e93fab"
  from="Virgile Prevosto &lt;virgile.prevosto@m...&gt;"
  author="Virgile Prevosto"
  date="2006-02-21T12:14:10"
  subject="Re: [Caml-list] Rephrasing of dynamic module selection problem">
</msg>
</msg>
</thread>

<contents>
On Mon, 20 Feb 2006, Nathan Cooprider wrote:
&gt; So I am still trying to get modules to be dynamically (run-time)
&gt; selectable instead of only statically (compile-time).

You can't do that in OCaml. Why don't you use objects or records to hold
the functions, instead of modules?

There are other MLs where you can pack a module into some manipulable
entity, but OCaml isn't one of them. Once you go there I wonder why not
just remove all differences between modules and records, since the two
things seem very similar.

-- Brian

</contents>

</message>

