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

Drop "possibly" from force's haddocks #513

Merged
merged 1 commit into from
Oct 31, 2024

Conversation

Shimuuar
Copy link
Contributor

force indeed copies unconditionally. Even in case like:

force (generate n fun)

In principle GHC could be able to elide copying using rewrite rules related to clone/New in practice it doesn't. So it's better to remove possibly since it will only confuse reader.

Fixes #511

force indeed copies unconditionally. Even in case like:

> force (generate n fun)

In principle GHC could be able to elide copying using rewrite rules related
to clone/New in practice it doesn't. So it's better to remove possibly since
it will only confuse reader.

Fixes haskell#511
Copy link
Contributor

@lehins lehins left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@Shimuuar Shimuuar merged commit 49be9db into haskell:master Oct 31, 2024
24 checks passed
@Shimuuar Shimuuar deleted the force-documentation branch October 31, 2024 16:07
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.

Document that force always copies
2 participants