Colin == Colin Paul Adams [EMAIL PROTECTED] writes:
Colin And thanks everyone for your help. I have enough to go on
Colin now.
I followed the example at
http://www.haskell.org/haskellwiki/Calling_Haskell_from_C
(and renamed the files from A* to fib1*, as I want to pursue this
further).
colin:
Colin == Colin Paul Adams [EMAIL PROTECTED] writes:
Colin And thanks everyone for your help. I have enough to go on
Colin now.
I followed the example at
http://www.haskell.org/haskellwiki/Calling_Haskell_from_C
(and renamed the files from A* to fib1*, as I want to
Don == Don Stewart [EMAIL PROTECTED] writes:
Don Not linking in the 'Safe' module on the command line?
Could be - I don't know any of this stuff. I was just following the
instructions on the wiki page.
How should these be amended?
--
Colin Adams
Preston Lancashire
Colin == Colin Paul Adams [EMAIL PROTECTED] writes:
Don == Don Stewart [EMAIL PROTECTED] writes:
Don Not linking in the 'Safe' module on the command line?
Colin Could be - I don't know any of this stuff. I was just
Colin following the instructions on the wiki page.
Got it working
Hi Colin
As an alternative you may consider using Thrift:
http://incubator.apache.org/thrift/
Cheers,
Dave
On Tue, 2008-11-11 at 16:45 +, Colin Paul Adams wrote:
Is there a way to call Haskell code from other languages? I have looked on
the wiki, and as far as I can see, it only talks
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Nov 11, 2008, at 10:45 AM, Colin Paul Adams wrote:
Is there a way to call Haskell code from other languages? I have
looked on
the wiki, and as far as I can see, it only talks about the other way
round (when Haskell is the main program).
Quoth Colin Paul Adams [EMAIL PROTECTED]:
| Is there a way to call Haskell code from other languages? I have looked on
| the wiki, and as far as I can see, it only talks about the other way
| round (when Haskell is the main program).
There sure is a way to call from other languages - cf. foreign
On Tue, 2008-11-11 at 17:09 +, Colin Paul Adams wrote:
Jake == Jake Mcarthur [EMAIL PROTECTED] writes:
Jake Actually, that's not the whole story. I didn't realize until
Jake I sent it. There does exist good documentation for this, I
Jake promise.
Good. Let me know where
On Tue, Nov 11, 2008 at 12:35:05PM -0600, Derek Elkins wrote:
On Tue, 2008-11-11 at 17:09 +, Colin Paul Adams wrote:
Jake == Jake Mcarthur [EMAIL PROTECTED] writes:
Jake Actually, that's not the whole story. I didn't realize until
Jake I sent it. There does exist good
colin:
Is there a way to call Haskell code from other languages? I have looked on
the wiki, and as far as I can see, it only talks about the other way
round (when Haskell is the main program).
http://haskell.org/haskellwiki/Calling_Haskell_from_C
Cheers,
Don
colin:
Jake == Jake Mcarthur [EMAIL PROTECTED] writes:
Jake Actually, that's not the whole story. I didn't realize until
Jake I sent it. There does exist good documentation for this, I
Jake promise.
Good. Let me know where it is when you track it down.
The link you pointed
John == John Goerzen [EMAIL PROTECTED] writes:
Read the FFI Report. It is relatively readable and
comprehensive. http://www.cse.unsw.edu.au/~chak/haskell/ffi/
And yes, you will have to use C as an intermediary, though you
may not have to actually write any C. You
Jake == Jake Mcarthur [EMAIL PROTECTED] writes:
Jake Actually, that's not the whole story. I didn't realize until
Jake I sent it. There does exist good documentation for this, I
Jake promise.
Good. Let me know where it is when you track it down.
The link you pointed me too doesn't
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Actually, that's not the whole story. I didn't realize until I sent
it. There does exist good documentation for this, I promise.
- - Jake
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.8 (Darwin)
I had a proof of concept lying around a couple of years ago in which a
big complicated Ada program called a big complicated Haskell program
and vice versa. The tricky bit from memory was making it link, and
satisfying their rumtime initialisation requirements. No explicit C
was required
15 matches
Mail list logo