Alex Ferguson wrote:
>
> > Either, cpp (or some preprocessor standard), should be made part of the
> > Haskell language definition or Haskell files that require a preprocessor
> > should have a different extension.
> >
> > Since, I assume that the hugs team has a good reason not to build in cpp
> > functionality, I am suggesting that Haskell files with preprocessor
> > directives have the extension .hs.cpp
>
I second this. Hugs *does* have preprocessor facilities. But because
Hugs runs on many machines, and some don't support preprocessors,
Hugs does not always have this feature available. Its not Hugs
that chooses not to have a preprocessor, but the underlying OS.
I don't like having to overwrite files with preprocessed ones,
so that things are standard Haskell. I'm not sure if I like .hp.cpp
though, and would rather another extension.
Andy Gill