[GHC] #8753: Import constructor but not the data type
GHC
ghc-devs at haskell.org
Sat Jun 7 21:47:39 UTC 2014
#8753: Import constructor but not the data type
-------------------------------------+------------------------------------
Reporter: andreas.abel | Owner:
Type: task | Status: new
Priority: normal | Milestone:
Component: Documentation | Version: 7.6.3
Resolution: | Keywords:
Operating System: Unknown/Multiple | Architecture: Unknown/Multiple
Type of failure: None/Unknown | Difficulty: Unknown
Test Case: | Blocked By:
Blocking: | Related Tickets:
-------------------------------------+------------------------------------
Changes (by nomeata):
* status: closed => new
* resolution: fixed =>
* component: Compiler => Documentation
* type: feature request => task
Comment:
Doesn’t seem like it.
http://www.haskell.org/ghc/docs/latest/html/users_guide/syntax-extns.html
#pattern-synonyms mentions `pattern Foo` in export/import list, but does
not say that proper constructors can also be addressed this way.
I guess it should also be mentioned in
http://www.haskell.org/ghc/docs/latest/html/users_guide/syntax-extns.html
#explicit-namespaces
Anywhere else where this should be mentioned?
(Reopening as a task.)
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/8753#comment:8>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list