map

fun <T, R> Result<T>.map(block: (T) -> Result<R>): Result<R>

Convenience function to map the result from type to type