
#9642: LANGUAGE pragma synonyms -------------------------------------+------------------------------------- Reporter: dreixel | Owner: Type: feature | Status: new request | Milestone: Priority: normal | Version: 7.9 Component: Compiler | Keywords: Resolution: | Architecture: Unknown/Multiple Operating System: | Difficulty: Unknown Unknown/Multiple | Blocked By: Type of failure: | Related Tickets: None/Unknown | Test Case: | Blocking: | Differential Revisions: | -------------------------------------+------------------------------------- Comment (by jstolarek): Replying to [comment:2 dreixel]:
Yes, but I don't think that addresses the same issues that my proposal does. Well, it address only one of them (avoiding copy-pastes).
It wouldn't be automatically enabled. It would just be available for use; you'd still have to write {{{ {-# LANGUAGE PedrosHaskell #-} }}} I see.
But wouldn't your proposal impose artificial dependencies between modules, where one module needs to import another just to use the LANGUAGE synonym? I imagine this could become a problem in some circumstances. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/9642#comment:3 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler