karelpeeters
class Foo { private lateinit var isChild:(File) -> Boolean init { isChild = { f -> roots.contains(f) || isChild(f.parentFile)} } }