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

Move Prelude.Linear.Internal.Simple to Prelude.Linear.Internal #138

Merged
merged 2 commits into from
Aug 26, 2020

Conversation

mboes
Copy link
Member

@mboes mboes commented Aug 23, 2020

Adjust the imports in other modules as well. However, this begs the
question: why are so many other modules importing the internal
version, instead of Prelude.Linear?

@aspiwack
Copy link
Member

I haven't reviewed, yet. But I can answer the question: Prelude.Linear is a prelude for the users of linear-base. It's public facing, and is allowed to depend on anything in linear-base. Prelude.Linear.Internal.{,.Simple} is the prelude of the library.

As it turns out, I believe that the Prelude.Linear is not as late in the dependency hierarchy as its namesake in base. But it's still pretty late.

@mboes
Copy link
Member Author

mboes commented Aug 24, 2020 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants