17 Aug
2004
17 Aug
'04
2:29 p.m.
On 16 August 2004 17:03, Malcolm Wallace wrote:
Maybe we should add a new option to the compiler, rather like cpp -dM, to report any cpp symbols that are automatically defined.
Not quite as concise as cpp -dM /tmp/foo.hs; \ ghc -E -cpp -optP-P /tmp/foo.hs -o /dev/stdout; \ rm -f /tmp/foo.hs 602 I just need to add a flag like gcc's -x flag and the need to create the temporary file would go away too. Cheers, Simon