Re: Preprocessor question

1999-07-13 Thread Sven Panne
Michael Weber wrote: [...] maybe the *BSD, OSF, and Windows folks should do the above tests, too... This seems to work on Alphas, too: -- $ uname -srm OSF1 V3.2 alpha $ echo TEST | gcc -E -DTEST=works - # 1 "" works $ echo TEST | /lib/cpp

Re: Preprocessor question

1999-07-13 Thread Michael Weber
On Tue, Jul 13, 1999 at 17:47:27 +0900, Manuel M. T. Chakravarty wrote: Simon Marlow [EMAIL PROTECTED] wrote, It isn't strictly speaking hardcoded, it's set up when you configure a binary distribution. So if you move gcc or install a new version, you need to re-install ghc. Yes, and

RE: Preprocessor question

1999-07-13 Thread 'Tony Finch'
Simon Marlow writes: We also like to get as clean a cpp as possible - if you go through gcc -E you get a whole bunch of symbols defined, The -undef option gets rid of most of those. and cpp gets passed the -lang-c flag (whatever that means, but it looks pretty scary). The other

Re: Problem with 4.03 FFI on Sparc?

1999-07-13 Thread Manuel M. T. Chakravarty
Sven Panne [EMAIL PROTECTED] wrote, [ redirected to ghu ] "Frank A. Christoph" wrote: I wrote: * A more pressing point is that GHC is tied to x86 machines at moment, see e.g. MBlock.c or Adjustor.c. It is? I thought these were only relevant for the FFI. OK, I was a little

Re: Deriving Enum

1999-07-13 Thread Jon . Fairbairn
On 11 Jul, Wolfram Kahl wrote: Koen Claessen [EMAIL PROTECTED] proposes the following diagonalisation function: [ (a,b) | (a,b) - [1..] // [1..] ] For a suitable definition of (//), for example: (//) :: [a] - [b] - [(a,b)] xs // ys = diagonalize 1

report sources

1999-07-13 Thread John Peterson
OK - I've finally gotten around to adding the report sources to haskell.org. We encourage folks to render the report in new ways; any useful rendering of the report will be added to haskell.org. John

Re: Deriving Enum

1999-07-13 Thread Jon . Fairbairn
On 13 Jul, Wolfram Kahl wrote: I confess guilty to have diverged from this simpler problem (//) :: [a] - [b] - [(a,b)] to the more general problem ??? like diagonalise:: [[a]] - [a] diagonalise l = d [] l d [] [] = [] d acc [] = -- d [] acc would do, but

RE: Haskell 98

1999-07-13 Thread Mark P Jones
Hi Simon, | I'm a bit unsure about the wording of the proposed copyright notice, which | a few people have asked for. Who owns the copyright? For lack of better | I have nominated the editors, myself and John Hughes, but given very | free-wheeling permission to reproduce the report. I hope