
#13961: TH.reify can be ambiguous when giving a name that's in multiple namespaces -------------------------------------+------------------------------------- Reporter: RyanGlScott | Owner: (none) Type: bug | Status: closed Priority: normal | Milestone: Component: Template Haskell | Version: 8.0.1 Resolution: invalid | 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: | -------------------------------------+------------------------------------- Changes (by RyanGlScott): * status: new => closed * resolution: => invalid Comment: Upon further thought, my needs are already addressed with the [http://hackage.haskell.org/package/template-haskell-2.11.1.0/docs /Language-Haskell-TH-Syntax.html#v:lookupValueName lookupValueName] and [http://hackage.haskell.org/package/template-haskell-2.11.1.0/docs /Language-Haskell-TH-Syntax.html#v:lookupTypeName lookupTypeName] functions, which allow me to search in particular namespaces. I now realize that the [http://hackage.haskell.org/package/template- haskell-2.11.1.0/docs/Language-Haskell-TH-Syntax.html#v:reify Haddocks for reify] even point this out - d'oh! -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/13961#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler