-
Notifications
You must be signed in to change notification settings - Fork 89
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
List methods don't work on Validity #246
Comments
Sorry, I think I was somewhat confused here.
returns
They seem to work fine for user-generated tuples. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Right now list methods don't work with tuples (error about not being a list value) and there are no tuple-specific methods.
I think I saw it mentioned somewhere else, but there's no way to extract values from a tuple AFAICT. Validities are a special case where
to_bool
andto_int
will extract the second and first values, but for user generated tuples there's no such option (and really,first
andlast
orget(, 0)
get(, 1)
would probably be clearer for those anyway).The text was updated successfully, but these errors were encountered: