- Add delegate functions:
by satchel.value(key)
andby satchel.value(key, defaultValue)
- Rename
getOrElse()
togetOrDefault()
to avoid confusion - Add
getOrSet()
that accepts a lambda as default value
by satchel.value(key)
and by satchel.value(key, defaultValue)
getOrElse()
to getOrDefault()
to avoid confusiongetOrSet()
that accepts a lambda as default value