Hi, your e-mail message looks as if it got stuck in a queue somewhere, but just in case you didn't see this,
http://haskell.org/pipermail/glasgow-haskell-users/2001-December/001249.html has got details of how to do this without going via C. hth --sigbjorn ----- Original Message ----- From: "Cluster" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, November 30, 2001 11:46 Subject: Re: FORTRAN and HASKELL > Hello GHC users, > > We want to reuse FORTRAN libraries within Haskell code. How can we use FFI > to implement this interface directly ? We know that we can use C to > implement it indirectly with FFI, but how can we do this directly ? Any > suggestion ? > > Thanks, > Heron de Carvalho > > > > ----- Original Message ----- > From: Christopher Milton <[EMAIL PROTECTED]> > To: clusterpoli <[EMAIL PROTECTED]>; > <[EMAIL PROTECTED]> > Sent: Thursday, November 29, 2001 11:07 PM > Subject: Re: FORTRAN and HASKELL > > > > AcessoBOL, só R$ 9,90! O menor preço do mercado! > > Assine já! http://www.bol.com.br/acessobol/ > > > > > > > > --- clusterpoli <[EMAIL PROTECTED]> wrote: > > > Somebody works with together FORTRAN and Haskell. Exists > > > some funcao to transform codigo FORTRAN into codigo > > > HASKELL? > > > > TXL might help, but it's its own functional language. > > It can probably convert FORTRAN to Haskell given the > > EBNF for each language, but I'm not sure how it works... > > http://www.research.avayalabs.com/user/wadler/realworld/ls2000.html > > http://gatekeeper.dec.com/pub/misc/txl/ > > > > Otherwise, I would look at what algorithm the FORTRAN is > > implementing, the either write it in Haskell, or look for it > > on the Internet using http://www.google.com/ > > > > For example: http://www.cs.chalmers.se/pub/haskell/library/ > > http://www.cs.chalmers.se/pub/haskell/library/bevan/index > > > > __________________________________________________ > > Do You Yahoo!? > > Yahoo! GeoCities - quick and easy web site hosting, just $8.95/month. > > http://geocities.yahoo.com/ps/info1 > > > > _______________________________________________ > > Glasgow-haskell-users mailing list > > [EMAIL PROTECTED] > > http://www.haskell.org/mailman/listinfo/glasgow-haskell-users > > > > > > > > _______________________________________________ > Glasgow-haskell-users mailing list > [EMAIL PROTECTED] > http://www.haskell.org/mailman/listinfo/glasgow-haskell-users _______________________________________________ Glasgow-haskell-users mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/glasgow-haskell-users