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. Given POSIX they exist, but if you happen upon a platform that only has a C compiler it won't have them.
<br><br><div class="gmail_quote">On Dec 28, 2007 7:08 PM, Cristian Baboi <<a href="mailto:cristian.baboi@gmail.com">cristian.baboi@gmail.com</a>> 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 <<a href="mailto:haskell@list.mightyreason.com">haskell@list.mightyreason.com</a>><br>wrote:<br><br>> This thread is obviously a source of much fun. I will play too.<br>
<br>Well, it starts with Wikipedia ... :-)<br><br>>><br>>> What is the definition of an entry point in Haskell ?<br><br>> "Haskell" does not have such a concept. At all. An implementation may<br>
> have<br>> such a concept.<br><br>Then a Haskell module know nothing about them.<br><br>> Most people on this list define "Haskell" as any attempt at an<br>> implementation of<br>> one of the standards which define Haskell, most recently the Hakell 98
<br>> standard.<br><br>> This can be nhc / yhc / ghc / hugs / winhugs / helium / jhc. Some of<br>> these<br>> compile to native code, some compile to byte code for a virtual<br>> machine. If an<br>> implementation can compile separately, then it might support dynamic
<br>> libraries.<br>> If so then a specific version of that compiler will define its own<br>> implementation specific concept of an entry point.<br><br>How can one make portable dynamic libraries then ?<br><br>>> What is the semantics of those entry points ?
<br><br>> It depends. For recent ghc versions, see its user manual:<br>> <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>> <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>