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

Share instances of the std prelude #5448

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Share instances of the std prelude #5448

wants to merge 1 commit into from

Conversation

nrc
Copy link
Contributor

@nrc nrc commented Feb 21, 2025

This is primarily a performance optimisation so that there is just one instance of the variables in the prelude shared between all other modules (there's always just one instance of the module itself, but variables including functions are copied into each module).

This also means that users can hide prelude names with their own which is a win for backwards compatibility.

I've also removed any user-facing mentions of the concept of a prelude. It's just the standard library as far as users are concerned.

Copy link

qa-wolf bot commented Feb 21, 2025

QA Wolf here! As you write new code it's important that your test coverage is keeping up.
Click here to request test coverage for this PR!

Copy link

vercel bot commented Feb 21, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
modeling-app ✅ Ready (Inspect) Visit Preview Feb 21, 2025 7:20am

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.

1 participant