You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: add flatMapMaybe method to handle optional transformations (#204)
* feat: add flatMapMaybe method to handle optional transformations
Introduced the flatMapMaybe method to the IResult interface and its implementations (OkResult and FailResult). This new method applies a function returning an IMaybe to the Ok value. If the function returns Some, it continues with Ok; if None, it results in a Fail with the specified error. If the original Result is a Fail, it remains unchanged. Accompanying tests verify behavior for both Ok and Fail scenarios. Additionally, updated package.json to specify pnpm as the package manager.
* docs
0 commit comments