https://kotlinlang.org logo
#stdlib
Title
# stdlib
m

mg6maciej

03/28/2017, 12:04 PM
I wonder if Kotlin's persistent collections have these missing APIs.
m

mg6maciej

03/28/2017, 1:00 PM
Cool. I'll try to switch and see if anything breaks.
Sadly I've found some real basic stuff missing.
take(Int)
,
drop(Int)
...
Interesting project tho.
I'm not sure I'd extend Kotlin's
List
interface. It gives false sense of having everything there, like
map
,
associate
, etc.
For immutable collections I'd expect them to return immutable types.
I have to say it was smart from your side to use pcollections as implementation behind and first work on the API.
2 Views