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

Unify SingletonRaise-esque apis and introduce impure builder for raise #3305

Closed
wants to merge 2 commits into from

Conversation

kyay10
Copy link
Collaborator

@kyay10 kyay10 commented Nov 29, 2023

Based on a suggestion by @CLOVIS-AI.

Not sure how Arrow handles binary compatibility issues because this introduces some.
The name impure is not final, but I think it captures the essence of that builder well because it always returns Unit, so the action inside must be impure.

@serras
Copy link
Member

serras commented Nov 30, 2023

@kyay10 this sounds like a great way to unify the commonalities behind Option, Nullable, and similar types. However, the binary compatibility issue is a big one, since we have promised to keep it on 1.2.x.

Would you maybe have the time to apply this change over the arrow-2 branch? There we still have leeway to make this kind of changes.

@kyay10
Copy link
Collaborator Author

kyay10 commented Nov 30, 2023

@serras will do! Shall I close this PR then?

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.

2 participants