[GHC] #10175: User's Guide 7.4.4 ExplicitTypeOperators typo
#10175: User's Guide 7.4.4 ExplicitTypeOperators typo -------------------------------------+------------------------------------- Reporter: Shou | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: | Version: 7.8.4 Documentation | Operating System: Unknown/Multiple Keywords: typo | Type of failure: None/Unknown extension | Blocked By: Architecture: | Related Tickets: Unknown/Multiple | Test Case: | Blocking: | Differential Revisions: | -------------------------------------+-------------------------------------
There is now some potential ambiguity in import and export lists; for example if you write import M( (+) ) do you mean the function (+) or the type constructor (+)? The default is the former, but with -XExplicitNamespaces (which is implied by -XExplicitTypeOperators) GHC allows you to specify the latter by preceding it with the keyword type, thus: [...]
GHC lists no extension `-XExplicitTypeOperators`, so it is assumed to be a mistake intended to be `-XTypeOperators`. -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10175> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#10175: User's Guide 7.4.4 ExplicitTypeOperators typo -------------------------------------+------------------------------------- Reporter: Shou | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Documentation | Version: 7.8.4 Resolution: | Keywords: typo Operating System: Unknown/Multiple | extension Type of failure: None/Unknown | Architecture: Blocked By: | Unknown/Multiple Related Tickets: | Test Case: | Blocking: | Differential Revisions: -------------------------------------+------------------------------------- Comment (by Thomas Miedema <thomasmiedema@…>): In [changeset:"b07dcccd2219eb2d08868bc6144f289b4e0aadf1/ghc"]: {{{ #!CommitTicketReference repository="ghc" revision="b07dcccd2219eb2d08868bc6144f289b4e0aadf1" Docs: `-XTypeOperators` (#10175) [skip ci] }}} -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10175#comment:1> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#10175: User's Guide 7.4.4 ExplicitTypeOperators typo -------------------------------------+------------------------------------- Reporter: Shou | Owner: Type: bug | Status: closed Priority: normal | Milestone: 7.12.1 Component: Documentation | Version: 7.8.4 Resolution: fixed | Keywords: typo Operating System: Unknown/Multiple | extension Type of failure: None/Unknown | Architecture: Blocked By: | Unknown/Multiple Related Tickets: | Test Case: | Blocking: | Differential Revisions: -------------------------------------+------------------------------------- Changes (by thomie): * status: new => closed * resolution: => fixed * milestone: => 7.12.1 Comment: Thanks. -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10175#comment:2> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
participants (1)
-
GHC