[Git][ghc/ghc][wip/sol/explicit_namespaces-docs] Edit explicit_namespaces.rst
Simon Hengel pushed to branch wip/sol/explicit_namespaces-docs at Glasgow Haskell Compiler / GHC Commits: 39574f55 by Simon Hengel at 2026-02-06T06:01:56+00:00 Edit explicit_namespaces.rst - - - - - 1 changed file: - docs/users_guide/exts/explicit_namespaces.rst Changes: ===================================== docs/users_guide/exts/explicit_namespaces.rst ===================================== @@ -86,7 +86,7 @@ However, how would one import only the data constructor? There are two options: import Data.Proxy (data Proxy) -- imports the data constructor only import Data.Proxy (pattern Proxy) -- imports the data constructor only -The `data` keyword allows a data constructor to be imported or exported without its +The ``data`` keyword allows a data constructor to be imported or exported without its parent type constructor. The ``pattern`` keyword does the same, with only a few differences: View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/39574f55194dbf173df3295514a31217... -- View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/39574f55194dbf173df3295514a31217... You're receiving this email because of your account on gitlab.haskell.org.
participants (1)
-
Simon Hengel (@sol)