This message was deleted.
# language-proposals
s
This message was deleted.
h
interpreted
j
you'd have to add a third type parameter which would break source compatibility with anyone passing explicit type parameters
h
shared class else any
j
you can add an operator extension iterator yourself so there's really no reason to do this
h
fair enough!
j
it avoids the type parameter problem
h
basically this should now just go in #stdlib, since it seems my edited and included extension function proposal would solve the problem
I can't exactly move the thread there, though
but I'll just delete my post and move it. i'll leave this thread here with OP deleted.
j
the
else
is incorrect. it needs to throw NoSuchElementException
h
thank you