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
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
💡 The idea
We would like to support arrays for creating an explicit collection like
NotEmptyList
orNotEmptySet
.For instance, we could add a
NotEmptyList.Companion.create(Array)
function with the following signature:Here's an example of calling this function from Kotlin code:
For fully supporting arrays, we should also include primitive-type arrays like
IntArray
.🙏 Help needed
Please give this post a reaction if you are interested in this change and comment below your thoughts on it.
We would love to have your feedback!
Beta Was this translation helpful? Give feedback.
All reactions