`Option` and nullable types have a top level `zip`...
# arrow-contributors
s
Option
and nullable types have a top level
zip
function (for combining values)....
Either
and
Validated
only have it as member function... any specific reason for this?
p
Zip for nullable can only be done as a top level function because it would be confusing if we have a nullable list or flow for instance. I imagine that it was done at the same time as Option.
👍 1
It would be great to have both options for all of the ADTs that we provide in arrow. Good catch. Worth a GH issue and PR 💯
s
Isn’t
Option
zip a member function? 🤔 Nullable cannot have it, because it conflicts with all types ike Pablisco mentions
p