Thu, 22 Feb 2001 14:07:04 -0700, Alastair Reid <reid@cs.utah.edu> pisze:
An output file or files which can be used as input to cc/ghc/Hugs/etc. (i.e., which doesn't require greencard, c2hs, hsc2hs, etc.) and which contains ifdefs to handle any portability issues.
Ah, now I see. hsc2hs could have an option to not delete the source of the C program which outputs the Haskell source. In this case it would be possible to make a distributable source package which doesn't require hsc2hs to compile. I will add this option. (Except that I pass some file through hsc2hs twice, because C macros can't expand to preprocessor directives. For this case the scheme would not help. But it's very rare.) -- __("< Marcin Kowalczyk * qrczak@knm.org.pl http://qrczak.ids.net.pl/ \__/ ^^ SYGNATURA ZASTÊPCZA QRCZAK