
#11164: No way to import a data instance -------------------------------------+------------------------------------- Reporter: Feuerbach | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 7.10.2 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by Feuerbach): Turns out it does, but that's hardly a proper solution: 1. It is very confusing for someone reading the code and not obvious for the one writing it 2. It requires -XPatternSynonyms 3. That's not what ghc suggests -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/11164#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler