gjesse
03/22/2017, 8:06 PMfun put(entities: List<String>) {
// doesn't work
entities.forEach { dao::put }
// works
entities.forEach { dao.put(it) }
// also works
val put = dao::put
entities.forEach { put(it) }
}
feels like entities.forEach { dao::put } should work here?