You are right, Portable Haskell Dynamic libraries do not exist because the Haskell standard does not talk about them at all.<br>Portable C Dynamic libraries do not exist either.&nbsp; Given POSIX they exist, but if you happen upon a platform that only has a C compiler it won&#39;t have them.
<br><br><div class="gmail_quote">On Dec 28, 2007 7:08 PM, Cristian Baboi &lt;<a href="mailto:cristian.baboi@gmail.com">cristian.baboi@gmail.com</a>&gt; wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Fri, 28 Dec 2007 19:18:33 +0200, ChrisK &lt;<a href="mailto:haskell@list.mightyreason.com">haskell@list.mightyreason.com</a>&gt;<br>wrote:<br><br>&gt; This thread is obviously a source of much fun. &nbsp;I will play too.<br>
<br>Well, it starts with Wikipedia ... :-)<br><br>&gt;&gt;<br>&gt;&gt; What is the definition of an entry point in Haskell ?<br><br>&gt; &quot;Haskell&quot; does not have such a concept. &nbsp;At all. &nbsp;An implementation may<br>
&gt; have<br>&gt; such a concept.<br><br>Then a Haskell module know nothing about them.<br><br>&gt; Most people on this list define &quot;Haskell&quot; as any attempt at an<br>&gt; implementation of<br>&gt; one of the standards which define Haskell, most recently the Hakell 98
<br>&gt; standard.<br><br>&gt; This can be nhc / yhc / ghc / hugs / winhugs / helium / jhc. &nbsp;Some of<br>&gt; these<br>&gt; compile to native code, some compile to byte code for a virtual<br>&gt; machine. &nbsp;If an<br>&gt; implementation can compile separately, then it might support dynamic
<br>&gt; libraries.<br>&gt; &nbsp;If so then a specific version of that compiler will define its own<br>&gt; implementation specific concept of an entry point.<br><br>How can one make portable dynamic libraries then ?<br><br>&gt;&gt; What is the semantics of those entry points ?
<br><br>&gt; It depends. &nbsp;For recent ghc versions, see its user manual:<br>&gt; <a href="http://haskell.org/ghc/docs/latest/html/users_guide/ffi-ghc.html#ffi-library" target="_blank">http://haskell.org/ghc/docs/latest/html/users_guide/ffi-ghc.html#ffi-library
</a><br>&gt; <a href="http://haskell.org/ghc/docs/latest/html/users_guide/win32-dlls.html" target="_blank">http://haskell.org/ghc/docs/latest/html/users_guide/win32-dlls.html</a><br><br>The conclusion:<br><br>Portable Haskell Dynamic libraries does not exists.
<br><div><div></div><div class="Wj3C7c"><br>_______________________________________________<br>Haskell-Cafe mailing list<br><a href="mailto:Haskell-Cafe@haskell.org">Haskell-Cafe@haskell.org</a><br><a href="http://www.haskell.org/mailman/listinfo/haskell-cafe" target="_blank">
http://www.haskell.org/mailman/listinfo/haskell-cafe</a><br></div></div></blockquote></div><br>