-
Notifications
You must be signed in to change notification settings - Fork 12
Lists
Ruslan Sennov edited this page Sep 12, 2017
·
3 revisions
An ad-hoc Vavr list can be created as follows:
val list = list(1, 2, 3)A Vavr list can be converted to a Kotlin MutableList:
val mutableList = list(1, 2, 3).toMutableList()A Kotlin Iterable can be converted to a Vavr List:
val vavrList = listOf(1, 2, 3).toVavrList()JΛVΛSLΛNG, (C) 2014 - 2017 javaslang.io