Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reexport external libraries #353

Closed
chshersh opened this issue Mar 9, 2021 · 0 comments · Fixed by #358
Closed

Reexport external libraries #353

chshersh opened this issue Mar 9, 2021 · 0 comments · Fixed by #358
Assignees
Labels
reexport Reexport something new

Comments

@chshersh
Copy link
Contributor

chshersh commented Mar 9, 2021

Cabal provides a handy feature called reexported-modules that allows reexporting modules from external libraries.

So, in relude.cabal we will have something like this:

reexported-modules:
    , Data.Map
    , Data.Map.Strict
    ...

And relude users won't need to add packages as dependencies for most of the work. So, we are aiming to reduce the need in importing the following libraries for now:

  • bytestring
  • containers
  • text
  • unordered-containers
@chshersh chshersh added the reexport Reexport something new label Mar 9, 2021
@chshersh chshersh added this to the v0.8.0.0: Standard milestone Mar 9, 2021
chshersh added a commit that referenced this issue Mar 11, 2021
vrom911 pushed a commit that referenced this issue Mar 11, 2021
* [#353] Reexport external libraries

Resolves #353

* Fix reexported modules

* Improve documentation

* Improve docs
nixypanda added a commit to nixypanda/haskell-template that referenced this issue Sep 2, 2022
Relude reexports most common modules from the following libraries:
  - containers
  - unordered-containers
  - text
  - bytestring
So we can remove these from our build-depends list.
More information: kowainik/relude#353
nixypanda added a commit to nixypanda/haskell-template that referenced this issue Sep 2, 2022
Since Relude (>= 1.0) reexports most common modules from the following libraries
  - containers
  - unordered-containers
  - text
  - bytestring
So we can remove these from our build-depends list.

More information: kowainik/relude#353
nixypanda added a commit to nixypanda/haskell-template that referenced this issue Sep 2, 2022
Since Relude (>= 1.0) reexports most common modules from the following libraries
  - containers
  - unordered-containers
  - text
  - bytestring
So we can remove these from our build-depends list.

More information: kowainik/relude#353
srid pushed a commit to srid/haskell-template that referenced this issue Sep 2, 2022
Since Relude (>= 1.0) reexports most common modules from the following libraries
  - containers
  - unordered-containers
  - text
  - bytestring
So we can remove these from our build-depends list.

More information: kowainik/relude#353
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
reexport Reexport something new
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants