Hi, If there is a function named "func" with type a->b in a win32 dll file. In Hugs use the primitive declaration: ------------------------------- primitive prim_func :: a -> b func = prim_func ------------------------------- Then the func can be exported to be used in other modules.
The question is how to do it in GHC? Cheers, Liu Junfeng [EMAIL PROTECTED] 2003-07-18 _______________________________________________ Haskell mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/haskell