Is there any reason to why we have `EitherNel` for...
# arrow
j
Is there any reason to why we have
EitherNel
for lists but not
EitherNes
for sets? 🤔
c
Probably just low demand, I think it's worth creating an issue if you need it
j
Actually, I don't really need it, but I wonder if creating a
toEitherNes()
function in #akkurate would be explicit enough. I feel like naming the function
toEitherNonEmptySet()
would be a bit too long.
well, just in case, I've created an issue: https://github.com/arrow-kt/arrow/issues/3310
a
also
NonEmptyList
has kind of a special place because it's the one returned by
zipOrAccumulate
and
mapOrAccumulate
j
You're right, NonEmptySet doesn't seem to be used internally by Arrow