searching for documentation about FFI+Hugs
Hello please point me to the section of manual which addresses using FFI functions. The only one i found is "3.4. Compiling modules that use the Foreign Function Interface", but 1) it says about .so, not .dll files 2) it says about "ffihugs", what is not included in WinHugs distro 3) it says nothing about foreign import wrappers -- Best regards, Bulat mailto:bulatz@HotPOP.com
On Mon, Feb 06, 2006 at 04:06:30PM +0300, Bulat Ziganshin wrote:
please point me to the section of manual which addresses using FFI functions. The only one i found is "3.4. Compiling modules that use the Foreign Function Interface", but
1) it says about .so, not .dll files
2) it says about "ffihugs", what is not included in WinHugs distro
Maybe someone who knows about Windows could clarify.
3) it says nothing about foreign import wrappers
There's nothing to say (once you've got 1 and 2): Hugs just implements the FFI spec.
1) it says about .so, not .dll files
2) it says about "ffihugs", what is not included in WinHugs distro
That's because i have no idea how FFI works, and have never built ffihugs (and have not the slightest idea how to). I will take a look at FFI in the future, and have added it to the list of WinHugs bugs. http://www.haskell.org/haskellwiki/WinHugs/Bugs#FFI_doesn.27t_work Thanks Neil
Hello Neil, Tuesday, February 07, 2006, 3:21:32 AM, you wrote:
1) it says about .so, not .dll files
2) it says about "ffihugs", what is not included in WinHugs distro
NM> That's because i have no idea how FFI works, and have never built NM> ffihugs (and have not the slightest idea how to). I will take a look NM> at FFI in the future, and have added it to the list of WinHugs bugs. NM> http://www.haskell.org/haskellwiki/WinHugs/Bugs#FFI_doesn.27t_work great! :( ffihugs was part of WinHugs 2003 and works ok there -- Best regards, Bulat mailto:bulatz@HotPOP.com
participants (3)
-
Bulat Ziganshin -
Neil Mitchell -
Ross Paterson