
#9146: GHC.TypeLits import don't quite work -------------------------------------+------------------------------------ Reporter: yuriyt | Owner: Type: bug | Status: closed Priority: normal | Milestone: Component: Compiler | Version: 7.8.2 Resolution: invalid | Keywords: Operating System: Unknown/Multiple | Architecture: Unknown/Multiple Type of failure: None/Unknown | Difficulty: Unknown Test Case: | Blocked By: Blocking: | Related Tickets: -------------------------------------+------------------------------------ Changes (by rwbarton): * status: new => closed * resolution: => invalid Comment: Your import statement tries to import (ordinary value-level) ''functions'' `(+)`, `(-)` from `GHC.TypeLits`. Instead, use the `ExplicitNamespaces` language extension and write {{{ import GHC.TypeLits (type (+), type (-)) }}} -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/9146#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler