Add Result.unwrapLazy
Dean177 opened this issue · comments
This should work the same way as Result.unwrap but the default value should be a 'a lazy rather than a 'a
val getLazy : 'a Result. -> default:('a Lazy.t) -> 'a
A standard library with the same API in F#, Rescript and OCaml
Dean177 opened this issue · comments
This should work the same way as Result.unwrap but the default value should be a 'a lazy rather than a 'a
val getLazy : 'a Result. -> default:('a Lazy.t) -> 'a