Hi,
I was trying to write a FFI wrapper for my Haskell program which manipulates
ByteString. But I am unable to compile/link it.
Here is the toy program.
{-# LANGUAGE ForeignFunctionInterface #-}
module B where
import Foreign.C.Types
import Foreign.C.String
import qualified Data.ByteString
kenny lu wrote:
Hi,
I was trying to write a FFI wrapper for my Haskell program which manipulates
ByteString. But I am unable to compile/link it.
Here is the toy program.
{-# LANGUAGE ForeignFunctionInterface #-}
module B where
import Foreign.C.Types
import Foreign.C.String
It works indeed. Thanks.
-Kenny
On Fri, Jun 12, 2009 at 3:50 PM, Jochem Berndsen joc...@functor.nl wrote:
kenny lu wrote:
Hi,
I was trying to write a FFI wrapper for my Haskell program which
manipulates
ByteString. But I am unable to compile/link it.
Here is the toy program.