You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
All are partial functions for infinite sequences. I don't think we should get rid of them like we do some of the other Seq functions that are partial for infinite sequences, because these are really the only functions available to get back to a finite collection if your collection type is seq. But perhaps we could make aliases such as unsafeToArray with a good XML comment to make clear that this doesn't work for infinite sequences (and there's no runtime check to make it safe).
The text was updated successfully, but these errors were encountered:
All are partial functions for infinite sequences. I don't think we should get rid of them like we do some of the other Seq functions that are partial for infinite sequences, because these are really the only functions available to get back to a finite collection if your collection type is
seq
. But perhaps we could make aliases such asunsafeToArray
with a good XML comment to make clear that this doesn't work for infinite sequences (and there's no runtime check to make it safe).The text was updated successfully, but these errors were encountered: