On Thu, May 8, 2008 at 5:09 PM, Philip Müller [EMAIL PROTECTED] wrote:
Thanks for all the answers. I'm testing this right now and simples cases
work as expected. However from what I've read it seems it'll get ugly once I
try to pass a C array to a Haskell function.
Well, maybe arrays in C
Hi,
I'm in the process of writing a C program, but I can't stop thinking
about how some functions would be much nicer implemented in Haskell.
Is there a way to write some of the functions in Haskell and then use
them in my C code via some kind of interface?
BTW yes, I have been thinking
Hello Philip,
Friday, May 9, 2008, 2:17:41 AM, you wrote:
Is there a way to write some of the functions in Haskell and then use
them in my C code via some kind of interface?
http://haskell.org/haskellwiki/IO_inside#Interfacing_with_foreign_evil_.28under_development.29
and then entries 1,6,7
mail:
Is there a way to write some of the functions in Haskell and then use
them in my C code via some kind of interface?
Using C just for IO is a bit weird -- perhaps you could illustrate
the kind of IO you're doing? Learning how to do IO in Haskell is
a much safer solution that linking the
Thanks for all the answers. I'm testing this right now and simples cases
work as expected. However from what I've read it seems it'll get ugly
once I try to pass a C array to a Haskell function.
Well, maybe arrays in C have been ugly before trying to pass them to
Haskell functions ;)
To
mail:
Thanks for all the answers. I'm testing this right now and simples
cases work as expected. However from what I've read it seems it'll
get ugly once I try to pass a C array to a Haskell function.
Right, passing arrays back and forth is going to get tiring.
Well, maybe arrays in C
Hello Philip,
Friday, May 9, 2008, 3:09:33 AM, you wrote:
Thanks for all the answers. I'm testing this right now and simples cases
work as expected. However from what I've read it seems it'll get ugly
once I try to pass a C array to a Haskell function.