nkiesel
03/16/2017, 10:43 PMmap
i have a when(subdirname) { "foo" -> createFoo(subdirname); "bar" -> createBar(subdirname)
. any subdirs not "foo" or "bar" I want to ignore. So I would first have to filter on the names, and then still have the "when" in the map repeating the list of valid names