Re: GHC version 5.00.2 is available

2001-06-20 Thread Josef Svenningsson
On Mon, 18 Jun 2001, Julian Seward (Intl Vendor) wrote: The (Interactive) Glasgow Haskell Compiler -- version 5.00.2 == [..] What's new in 5.00.2 == [..] How about Andrew Tolmach's -fext-core flag? Did

passing Strings with FFI

2001-06-20 Thread Corneliu Popeea
Hello, I want to pass a String to a function which is imported from C code: foreign import pass prim_pass :: String - String The declaration above gives me an error from ghc like String type not supported for imported functions. I thought that String being [Char] should be supported

RE: passing Strings with FFI

2001-06-20 Thread Julian Seward (Intl Vendor)
| I want to pass a String to a function which is imported from C code: | foreign import pass prim_pass :: String - String | The declaration above gives me an error from ghc like String | type not | supported for imported functions. | I thought that String being [Char] should be