[Haskell-cafe] ghc #defines

Ivan Lazar Miljenovic ivan.miljenovic at gmail.com
Wed Apr 14 06:47:20 EDT 2010


gladstein at 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.Miljenovic at gmail.com
IvanMiljenovic.wordpress.com


More information about the Haskell-Cafe mailing list