package iv_properties

import util.TODO
import util.doc34

class LazyPropertyUsingDelegates(val initializer: () -> Int) {
    val lazyValue: Int by todoTask34()
}

fun todoTask34(): Lazy<Int> = TODO(
    """
        Task 34.
        Read about delegated properties and make the property lazy by using delegates.
    """,
    documentation = doc34()
)

package iv_properties

import util.TODO
import util.doc34

class LazyPropertyUsingDelegates(initializer: () -> Int) {
    val lazyValue: Int by lazy(initializer)
}

fun todoTask34(): Lazy<Int> = TODO(
    """
        Task 34.
        Read about delegated properties and make the property lazy by using delegates.
    """,
    documentation = doc34()
)

Complete koan 34 (lazily initialized property by delegated property)
Complete koan 34 (lazily initialized property by delegated property)

sleberknight/kotlin-koans,sleberknight/kotlin-koans