patch applied (packages/base): Change C-style comments to
Haskell-style.
Neil Mitchell
ndmitchell at gmail.com
Mon Jun 25 06:02:02 EDT 2007
Hi Malcolm,
Why not change them to #if 0 ?
That way you are C safe and Haskell safe. (Suggestion originally from Isaac D)
Thanks
Neil
On 6/25/07, Malcolm Wallace <Malcolm.Wallace at cs.york.ac.uk> wrote:
> Mon Jun 25 02:45:15 PDT 2007 Malcolm.Wallace at cs.york.ac.uk
> * Change C-style comments to Haskell-style.
> These two headers are only ever used for pre-processing Haskell code,
> and are never seen by any C tools except cpp. Using the Haskell comment
> convention means that cpphs no longer needs to be given the --strip
> option to remove C comments from open code. This is a Good Thing,
> because all of /* */ and // are valid Haskell operator names, and there
> is no compelling reason to forbid using them in files which also happen
> to have C-preprocessor directives.
>
> M ./include/CTypes.h -7 +7
> M ./include/Typeable.h -4 +4
> _______________________________________________
> Cvs-libraries mailing list
> Cvs-libraries at haskell.org
> http://www.haskell.org/mailman/listinfo/cvs-libraries
>
More information about the Cvs-libraries
mailing list