18 Jul
2003
18 Jul
'03
10:29 a.m.
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 liujf@softhome.net 2003-07-18