L PROTECTED]]
> Sent: Monday, October 16, 2000 12:20 PM
> To: Simon Marlow; '[EMAIL PROTECTED]'
> Subject: AW: Exposing Haskell functions with string arguments in a DLL
>
>
> Thanks!! What about the other direction? (Haskell function
> with string result)
>
>
PROTECTED]'
> Betreff: RE: Exposing Haskell functions with string arguments in a DLL
>
>
> > How can I convert string arguments (null-terminated strings)
> > to Haskell's [Char]? I saw there is some CString module in
> > package lang of GHC, but I didn't
> How can I convert string arguments (null-terminated strings)
> to Haskell's [Char]? I saw there is some CString module in
> package lang of GHC, but I didn't found any documentation
> about it (e.g. packStringIO...?).
For converting a static null-terminated C string to a Haskell String, use
How can I convert string arguments (null-terminated strings) to Haskell's [Char]? I
saw there is some CString module in package lang of GHC, but I didn't found any
documentation about it (e.g. packStringIO...?). How must a function f :: String ->
String for usage in a DLL look like in order to