• Ian Lynagh's avatar
    More work towards cross-compilation · f07af788
    Ian Lynagh authored
    There's now a variant of the Outputable class that knows what
    platform we're targetting:
    class PlatformOutputable a where
        pprPlatform :: Platform -> a -> SDoc
        pprPlatformPrec :: Platform -> Rational -> a -> SDoc
    and various instances have had to be converted to use that class,
    and we pass Platform around accordingly.