On 8/18/2011 6:49 AM, Antoine Latter wrote:
Hi Haskell,
I have a question about the Haskell FFI and creating FunPtrs to
Haskell functions.
Does anyone have any recommendations for when I have a top-level
function that I would like to pass to a C function as a function
pointer (that is called vi
Hi Haskell,
I have a question about the Haskell FFI and creating FunPtrs to
Haskell functions.
Does anyone have any recommendations for when I have a top-level
function that I would like to pass to a C function as a function
pointer (that is called via a foreign import)?
I know that the FFI prov
Hello,
I would like to write bindings from Haskell to Java. Is this
possible? If so, where are examples?
Vasili
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
Hi, I have a question about ffi in Hugs98 (WinHugs-May2006.exe), the Hugs98 documentation says:"Only the ccall, stdcall and dotnet calling conventions are supported. All others are flagged as errors."But I can't get a dotnet import, the ffihugs returns me an error:ffihugs "example.hs"
Hello Duncan,
Thursday, February 09, 2006, 8:45:01 PM, you wrote:
DC> There is also c2hs which is well supported and is used for several large
DC> C bindings:
there is also hsffig by Dmitry Golubovsky. we need to establish FFI
page on the wiki and give at least links to all this packages and
sma
On Thu, 2006-02-09 at 09:27 -0800, Donn Cave wrote:
> On Thu, 9 Feb 2006, Christopher Brown wrote:
> > Frederico,
> >
> > Have you tried using Green Card?
> >
> > http://haskell.org/greencard/
> >
> > It is basically a foreign function pre-processor for Haskell. It
> > allows your Haskell prog
On Thu, 9 Feb 2006, Christopher Brown wrote:
> Frederico,
>
> Have you tried using Green Card?
>
> http://haskell.org/greencard/
>
> It is basically a foreign function pre-processor for Haskell. It
> allows your Haskell programs to interface with C libraries in a very
> straight forward way.
On 2/9/06, Frederico Franzosi <[EMAIL PROTECTED]> wrote:
Hi,
I don't really know how this stuff exactly works, but here's few
things I have found useful when I ran into this sort of problems.
> I'm developping a package wich imports C functions.
> For example if I use:
> $ghc -package PKGname-P
Hello Frederico,
Thursday, February 09, 2006, 5:08:12 AM, you wrote:
FF> I'm developping a package wich imports C functions.
it depends on the details of your use. things go far away from the
times where FFI addendum was published, but there is no good
docementation, afaik.
first, there are a nu
Frederico,
Have you tried using Green Card?
http://haskell.org/greencard/
It is basically a foreign function pre-processor for Haskell. It
allows your Haskell programs to interface with C libraries in a very
straight forward way.
Chris.
On 9 Feb 2006, at 02:08, Frederico Franzosi wrote
I'll try to make it short.
I'm developping a package wich imports C functions.
the fact is that when I try to compile if I call the compiler in the
usual way, using -package and -llib it gives an undefined reference
error...
For example if I use:
$ghc -package PKGname-PKGversion -fffi -o main Ma
11 matches
Mail list logo