Is it possible to curry the other way around in Scala?
Let's assume this function: def autoClosing(f: {def close();})(t: =>Unit) = { t f.close() } and this snippet: val a = autoClosing(new X)(_) a { println("before close") } is it possible to curry the first part? Something like: val a = autoClosing(_) { println("before close") } so that I could send the objects on which cl...