kittinunf
fun foo(success: (String) -> Unit, failure: (Exception) -> Unit)
fun foo(handler: (Result<String, Exception>) -> Unit)