darklang / tablecloth

A standard library with the same API in F#, Rescript and OCaml

Home Page:https://www.tablecloth.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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