This may be more appropriate for <#C7L3JB43G|compi...
# stdlib
r
This may be more appropriate for #compiler, but I've noticed there's some quite nice utilities in
org.jetbrains.kotlin.utils.addToStdlib
in the compiler artifact. Are these things that will be added to the stdlib soon? Because several (especially
cast
and
safeAs
, for me) are quire nice
m
Bumping this question,
cast
and
safeAs
would be nice to keep the typing flow (not having to go back to open a parenthesis). Is there an issue to upvote this or is it going to be promoted at some point?
👍 2
d
I'd also like to see an
ifNull { ... }
(or better name) for
?:
, which also often requires parentheses and makes things look worse
👍 1
i