Manuel M. T. Chakravarty writes:
>
...
>
> Unfortunately, the implementation in GHC 4.01 is still a bit
> buggy. Two bugs are reproduced by the following program
>
> import Int (Int8, intToInt8, Int16, intToInt16, Int32, intToInt32,
> Int64, intToInt64)
>
> foreign import
"Sigbjorn Finne (Intl Vendor)" <[EMAIL PROTECTED]> wrote,
> Manuel M. T. Chakravarty writes:
> >
> ...
> >
> > Unfortunately, the implementation in GHC 4.01 is still a bit
> > buggy. Two bugs are reproduced by the following program
> >
> > import Int (Int8, intToInt8, Int16, intToInt16,
Manuel M. T. Chakravarty <[EMAIL PROTECTED]> writes:
>
> > > --(2) foreign import ccall "" "bar" bar :: IO Int64
> > >
> >
> > this can be reduced to
> >
> > foreign import "bar" bar :: IO Int64
>
> So, `ccall' is the default? (This is not documented, I think.)
>
There's bee
"Sigbjorn Finne (Intl Vendor)" <[EMAIL PROTECTED]> wrote,
>
> Manuel M. T. Chakravarty <[EMAIL PROTECTED]> writes:
> >
>
> > > > --(2) foreign import ccall "" "bar" bar :: IO Int64
> > > >
> > >
> > > this can be reduced to
> > >
> > > foreign import "bar" bar :: IO Int64
> >