-
Notifications
You must be signed in to change notification settings - Fork 449
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
["Request"] Specify AT_MOST_ONCE
and EXACTLY_ONCE
in applicable lambdas
#2806
Comments
Hey, can I work on this issue? |
Hey @poseidon2060, Yes, this is a great issue to get started with since you can also start small and add This doesn't have to be done in the entire project in 1 PR or contribution. Feel free to add it only to a single lambda where you think it's applicable and opening a PR 👍 |
Okay thankyou |
Feel free to ask here @poseidon2060, or in a DRAFT PR if you prefer 👍 |
Hey @nomisRev I have familiarized myself with Kotlin contracts and |
Hey @poseidon2060, If we look for example at To add this annotations for If you any more questions be sure to ask them |
Hey, @nomisRev Thank you for being so helpful!
Am I doing it correctly? |
I think should move all contract blocks to the top body of function.
|
Hey @hoc081098 Do you mean like this?
|
Yes, the second snippet as suggested by @hoc081098 is the correct encoding. |
So can I open a PR? |
Absolutely |
Done! |
Hey @nomisRev, I have created a Draft PR adding Invocation at 4 more places, can you please let me know if it's correct so that I can mark it Ready for Review🤞 |
Hey @nomisRev, should I continue working on this issue or get started on a new one? |
Hey @poseidon2060, |
Okay, I'll start working on a new issue while also continuing working on this issue in the background. I think this way I'll learn the most.😄 |
@poseidon2060 awesome 🙌 Thank you for taking so much interest to contributing! Feel free to ask any questions on the respective issues directly, or on any other issues you find interesting and tag me 😉 |
@nomisRev Okay thank you, I will look into these issues and try to solve them |
In most HOF in Arrow we can specify
AT_MOST_ONCE
andEXACTLY_ONCE
.Currently, we're not doing so, and this prevents certain code to be written that would otherwise be valid.
The text was updated successfully, but these errors were encountered: