
#12633: Support standard syntax for language pragmas in GHCi -------------------------------------+------------------------------------- Reporter: Hjulle | Owner: Type: feature | Status: new request | Priority: normal | Milestone: Component: GHCi | Version: 8.0.1 Keywords: | Operating System: Unknown/Multiple Architecture: | Type of failure: None/Unknown Unknown/Multiple | Test Case: | Blocked By: Blocking: | Related Tickets: Differential Rev(s): | Wiki Page: -------------------------------------+------------------------------------- It would be convenient to be able to use the standard (module level) syntax for language pragmas in GHCi {{{#!hs {-# LANGUAGE Extension #-} }}} instead of just the GHCi specific syntax {{{#!hs :set -XExtension }}} For example, this would simplify copy-pasting examples and code into GHCi, especially now that most other module level syntax is supported. It might also reduce confusion for new users, since the syntax is the same in both cases. If it is not too difficult, I might take on this myself as a good first bug. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/12633 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler