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
Someone there suggested this might make sense to be part of the Seq operations in a future version of the standard library. I was actually surprised to find them missing, especially since immutable maps do have an updatedWith method. I understand that sequences are not maps, but would there be much cost to add the methods to SeqOps with a default implementation based on patch?
The text was updated successfully, but these errors were encountered:
I recently found myself writing these extensions (with help from the Scala Users forum):
to be used as:
Someone there suggested this might make sense to be part of the
Seq
operations in a future version of the standard library. I was actually surprised to find them missing, especially since immutable maps do have anupdatedWith
method. I understand that sequences are not maps, but would there be much cost to add the methods toSeqOps
with a default implementation based onpatch
?The text was updated successfully, but these errors were encountered: