> Panic!
> It appears,   ghc-4 -c -cpp   and   quoted names  correlate badly:
> 
>   #define C CRP
> 
>   data R a = CRP a 
>   f  (C x) = x
>   f' (C x) = x
> 
> f  compiles and  f'  do not!

works fine here:

$ ghc sergey.hs -cpp
sergey.hs:5: Data constructor not in scope: `C'

What version of gcc are you using?

-- 
Simon Marlow 
Microsoft Research Ltd., Cambridge, U.K.

Reply via email to