Haskell binaries for AIX?
Does anyone out there have a prebuilt Haskell system for AIX? I'm trying to find the easiest route to running a Haskell interpreter on AIX (5.1 and 5.2). Dean ___ Haskell-Cafe mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/haskell-cafe
Re: FFI preprocessor for GHC
Hello, I would instead suggest greencard as a good preprocessor. It is portable in the sense that it outputs haskell code in accordance with the new FFI specification. Also, it has an input format which, in my opinion, is easier to learn and is better documented than hsc2hs. You can download the program and manual at: http://haskell.org/greencard/ Per Larsson On Thursday 15 January 2004 18.40, Jeremy Shaw wrote: > Hello, > > One answer might be to not use a preprocessor at all. I found that I > could not understand what the preprocessers where actually doing until > I understood how to do it by hand. The nice thing about doing it by > hand, is it is probably the most portable, since it does not require > any preprocessor. > > On the otherhand, there is nothing wrong with using a preprocessor, > and it can certainly save time. hsc2hs is included in the ghc source > tree, so that would probably be my first choice. > > Jeremy Shaw. > > > At Thu, 15 Jan 2004 18:18:11 +0100, > > Gour wrote: > > Hi! > > > > I'd like to create Haskell bindings for swisseph C library for > > calculating ephemeris. > > > > Which preprocessor would be a suitable for ghc compiler with the ability > > to run the code both on Linux & Win32? > > > > Sincerely, > > Gour > > > > -- > > Gour > > [EMAIL PROTECTED] > > Registered Linux User #278493 > > > > ___ > > Haskell-Cafe mailing list > > [EMAIL PROTECTED] > > http://www.haskell.org/mailman/listinfo/haskell-cafe ___ Haskell-Cafe mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/haskell-cafe
Re: FFI preprocessor for GHC
Hello, One answer might be to not use a preprocessor at all. I found that I could not understand what the preprocessers where actually doing until I understood how to do it by hand. The nice thing about doing it by hand, is it is probably the most portable, since it does not require any preprocessor. On the otherhand, there is nothing wrong with using a preprocessor, and it can certainly save time. hsc2hs is included in the ghc source tree, so that would probably be my first choice. Jeremy Shaw. At Thu, 15 Jan 2004 18:18:11 +0100, Gour wrote: > > Hi! > > I'd like to create Haskell bindings for swisseph C library for calculating > ephemeris. > > Which preprocessor would be a suitable for ghc compiler with the ability to > run the code both on Linux & Win32? > > Sincerely, > Gour > > -- > Gour > [EMAIL PROTECTED] > Registered Linux User #278493 > > ___ > Haskell-Cafe mailing list > [EMAIL PROTECTED] > http://www.haskell.org/mailman/listinfo/haskell-cafe ___ Haskell-Cafe mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/haskell-cafe
FFI preprocessor for GHC
Hi! I'd like to create Haskell bindings for swisseph C library for calculating ephemeris. Which preprocessor would be a suitable for ghc compiler with the ability to run the code both on Linux & Win32? Sincerely, Gour -- Gour [EMAIL PROTECTED] Registered Linux User #278493 ___ Haskell-Cafe mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/haskell-cafe