What is the problem with ""
? emptyList()
, emptyMap
are different. There isn’t any other way to get what they provide since they are backed by a special implementation of List
, Map
also there isn’t a literal you can use for them. We don’t use Int.Empty
or Int.Zero
either.
That all said if you need a function/property for this for any reason feel free to add this to your project. I just don’t see any reason why we need this in the standard library.