
2 Jan
2008
2 Jan
'08
8:48 a.m.
Neil Mitchell wrote:
The GHC API uses the <.> operator, which clashes with System.FilePath. Possibly this might want renaming to something else - I have absolutely no idea what it does!
Prelude> :m GHC Prelude GHC> :i <.> (<.>) :: HsWrapper -> HsWrapper -> HsWrapper -- Defined in HsBinds
I tend to use import qualified GHC import GHC (Name, Id, ...) i.e. qualify most things, but selectively import a few things unqualified. The GHC API is quite huge, I expect clashes to be fairly common if you import it unqualified. Cheers, Simon