Re: Xlib IDL for H/Direct?

1999-03-29 Thread Sven Panne
"Sigbjorn Finne (Intl Vendor)" wrote: Sven Panne wrote: What's wrong with using Green Card? Its %enum generates the desired mappings automatically and consistently. AFAIK, this type safety is something even IDL compilers don't do for you. Use whatever works best for you, but I'm not

RE: GHC for SunOS?

1999-03-29 Thread Simon Marlow
I'd love to contribute/build more recent binaries of ghc, since I'm interested in using it myself. I do have the problem that I have no happy, and hence can't build ghc-2.10 (do I get happy elsewhere (not the ghc dist)?). You can run happy on some other machine, and take the generated

RE: Xlib IDL for H/Direct?

1999-03-29 Thread Sigbjorn Finne (Intl Vendor)
Sven Panne [mailto:[EMAIL PROTECTED]] writes: "Sigbjorn Finne (Intl Vendor)" wrote: Sven Panne wrote: What's wrong with using Green Card? Its %enum generates the desired mappings automatically and consistently. AFAIK, this type safety is something even IDL compilers don't do

Re: Xlib IDL for H/Direct?

1999-03-29 Thread Sven Panne
"Sigbjorn Finne (Intl Vendor)" wrote: You could use 'const's for this, but I'd suggest using an 'enum' decl in IDL instead. Uhmmm, I should have read the docs more closely... :-] But there's a little bug when using -fenum-instances (missing returns): ... marshallStatus :: Status -

[q] locating run-time errors in the source code

1999-03-29 Thread fis
Hi, My program just died with the following message: Fail: Prelude.(!!): index too large This is not very informative (I have 7000 LOC). The only thing it tells me is that I should always check whether some index is ok or not, and produce a more informative error message by hand in the