Skip to content
Snippets Groups Projects
Commit 32fbd0b5 authored by Oleg Grenrus's avatar Oleg Grenrus
Browse files

Add visible field to Library

- for main library default is True
- for named libraries default is False
- remove Monoid Library instance; i'd rather remove emptyLibrary too
  but now these (two?) usages are explicit:
  - creating Library from BuildInfo when merging common stanzas
  - creation of dummy package in `cabal new-repl`
- Documentation is left for Francesco to write
- Field is named `visible` because we have `buildable` and `exposed`
  adjectives. `visibility: True` is unclear.
parent 284de315
No related branches found
No related tags found
No related merge requests found
Showing
with 411 additions and 77 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment