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

elect

09/21/2017, 11:39 AM
small thing: may we introduce
pathOf(String/URI)
?
k

karelpeeters

09/21/2017, 12:19 PM
Is that supposed to be a question?
e

elect

09/21/2017, 12:19 PM
yep
k

karelpeeters

09/21/2017, 12:55 PM
Well it's not clear at all what you're asking.
e

elect

09/21/2017, 1:13 PM
sorry, I meant "what about adding `pathOf`"
v

voddan

09/21/2017, 2:15 PM
Still not clear. What should it do?
e

elect

09/21/2017, 5:07 PM
instead typing
Paths.get()
kind of like arrays, lists, ecc..
also,
uriOf
k

karelpeeters

09/21/2017, 10:57 PM
You want
pathOf
instead of
Paths.get
? That seems a bit ridiculous to me.
arrayOf
and
listOf
exist because arrays and lists are (almost) first-class language concepts.
e

elect

09/22/2017, 8:43 AM
I don't want that instead of
Paths.get
, I'd like that offered in parallel
10 Views