wrap

open fun <T, R> wrap(fn: ThrowingFunction<T, R>): (T) -> R