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

Add universum-prelude #240

Open
Martoon-00 opened this issue Aug 9, 2021 · 0 comments
Open

Add universum-prelude #240

Martoon-00 opened this issue Aug 9, 2021 · 0 comments
Labels
feature request type:feature Something new is added.

Comments

@Martoon-00
Copy link
Member

Often I'd like to have Prelude module re-exporting Universum module, and use it with base-noprelude. This way there will be no need to write import Universum each time explicitly.

There are two ways to implement this:

  1. Use mixins within the depending project. However, mixins are not yet well supported, e.g. stack ghci fails for projects using them, as well as haskell language server. And this will unlikely be resolve soon.
  2. Add a dedicated package here.

So I propose to add universum-prelude subpackage that would allow projects that depend on it to obtain the desired Prelude module that could be used implicitly.

@Martoon-00 Martoon-00 added feature request type:feature Something new is added. labels Aug 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request type:feature Something new is added.
Projects
None yet
Development

No branches or pull requests

1 participant