wrap

inline fun <S, T> wrap(source: S, map: (S) -> T): Result<T>