K/N doesn’t have .let .also .apply .run functions?
# kotlin-native
r
K/N doesn’t have .let .also .apply .run functions?
j
It does. Those functions are parts of the standard library
r
strange, I can’t use them in MPP project example
@jonnyzzz here https://github.com/JetBrains/kotlin-mpp-example/blob/master/greeting/common/build.gradle was missing
Copy code
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
@jonnyzzz but they are not part of stdlib-common and Im not sure if importing stdlib (non-common) is good practice
j
stdlib-common is created for common kotlin code modules, than you have platform specific part, where you have stdlib for the platform. I see no problem to depend from the stdlib-common from common code. If you target, say JVM, you will have stdlib-jvm in the classpath anyways, so you are free to use it too