In most other similar libraries for option/result, we don't similar type inferencing. I like that for Option, once inside if() we can directly use the variable. Similar for Result, once inside isOk() check, type inference is active. awesome job.
This is not an issue, only a request. Currently, catchResult can only be used with functions. Can it be extended to Promises ?
In most other similar libraries for option/result, we don't similar type inferencing. I like that for
Option, once inside if() we can directly use the variable. Similar forResult, once insideisOk()check, type inference is active. awesome job.This is not an issue, only a request. Currently,
catchResultcan only be used with functions. Can it be extended to Promises ?