This is the case I'm trying to do this in ``` data...
# getting-started
s
This is the case I'm trying to do this in
Copy code
data class Ref(var value : Value)
data class Scope(val bindings : MutableMap<String, Ref>, val parent : Scope?)
    : Map<String, Value> by _bindings {
    private val _bindings : Map<String, Value>
        get() = bindings.mapValues { (_, ref) -> ref.value } + (parent?._bindings ?: emptyMap())
}