-
Notifications
You must be signed in to change notification settings - Fork 3
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
chore: split NadaType and NadaValue / refactoring #60
base: main
Are you sure you want to change the base?
Conversation
I was taking a look at the PR and I'm confused. What is a |
In this context a NadaValue is what you would pass to Tuple.new for instance: |
Maybe I am wrong, but IMO in this context you are not using a |
To clarify my worries. I worry that we introduce the term |
e9c6324
to
6ff849b
Compare
We can name them |
6ff849b
to
e2635fa
Compare
https://github.com/NillionNetwork/nillion/pull/2403 will need to be merged first. |
|
||
|
||
def nada_fn(fn, args_ty=None, return_ty=None) -> NadaFunction[T, R]: | ||
def create_nada_fn(fn, args_ty) -> NadaFunction[T, R]: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This doesn't stop me from using this as a decorator, @create_nada_fn
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there a way to prevent that?
b239c72
to
354c025
Compare
6244e7e
to
37b6ba5
Compare
37b6ba5
to
87a1965
Compare
Fixes #
Design discussion issue (if applicable) #
Changes
Please provide a brief description of the changes here.
Merge requirement checklist