[Haskell-cafe] ghc #defines

Thomas Schilling nominolo at googlemail.com
Wed Apr 14 11:13:40 EDT 2010


__NHC__ is defined when the code is compiled with the nhc98 compiler
[1].  Similarly Hugs is another Haskell implementation.

[1]: http://www.haskell.org/nhc98/

On 14 April 2010 11:36,  <gladstein at gladstein.com> wrote:
> I may need to put some #ifdef conditionalizations into some
> cross-platform code. I'm wondering where I can find the definitions of
> symbols like __NHC__. I tried googling but I'm swamped by uses, no
> definitions that I can see.
>
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe
>



-- 
Push the envelope.  Watch it bend.


More information about the Haskell-Cafe mailing list