Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
C
Cabal
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Environments
Packages & Registries
Packages & Registries
Package Registry
Container Registry
Analytics
Analytics
CI / CD
Insights
Issue
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
Glasgow Haskell Compiler
Packages
Cabal
Commits
b8fca020
Commit
b8fca020
authored
Aug 07, 2018
by
quasicomputational
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
docs: mention hiding in mixins and issues for the parsing bug
[skip ci]
parent
13a8991c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
0 deletions
+17
-0
Cabal/doc/developing-packages.rst
Cabal/doc/developing-packages.rst
+17
-0
No files found.
Cabal/doc/developing-packages.rst
View file @
b8fca020
...
...
@@ -2389,6 +2389,19 @@ system-dependent values for these fields.
mixins
:
foo
(
Foo
.
Bar
as
AnotherFoo
.
Bar
,
Foo
.
Baz
as
AnotherFoo
.
Baz
)
Note
that
renaming
a
module
like
this
will
hide
all
the
modules
that
are
not
explicitly
named
.
Modules
can
also
be
hidden
:
::
library
:
mixins
:
foo
hiding
(
Foo
.
Bar
)
Hiding
modules
exposes
everything
that
is
not
explicitly
hidden
.
..
Note
::
The
current
version
of
Cabal
suffers
from
an
infelicity
in
how
the
...
...
@@ -2396,6 +2409,10 @@ system-dependent values for these fields.
if
the
provided
renaming
clause
has
whitespace
after
the
opening
parenthesis
.
This
will
be
fixed
in
future
versions
of
Cabal
.
See
issues
`#
5150
<
https
://
github
.
com
/
haskell
/
cabal
/
issues
/
5150
>`
__
,
`#
4864
<
https
://
github
.
com
/
haskell
/
cabal
/
issues
/
4864
>`
__
,
and
`#
5293
<
https
://
github
.
com
/
haskell
/
cabal
/
pull
/
5293
>`
__
.
There
can
be
multiple
mixin
entries
for
a
given
package
,
in
effect
creating
multiple
copies
of
the
dependency
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment