Re: [Haskell-cafe] ghc #defines

2010-04-14 Thread Ivan Lazar Miljenovic
gladst...@gladstein.com writes:

 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.

Looks like they're here:
http://www.haskell.org/ghc/docs/latest/html/users_guide/options-phases.html

(Note: I don't know how authorative/complete that list is.)

-- 
Ivan Lazar Miljenovic
ivan.miljeno...@gmail.com
IvanMiljenovic.wordpress.com
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] ghc #defines

2010-04-14 Thread Thomas Schilling
__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,  gladst...@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@haskell.org
 http://www.haskell.org/mailman/listinfo/haskell-cafe




-- 
Push the envelope.  Watch it bend.
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe