-
c2f13ea: Update external API (and consequently internals)
- Rename
bind
toflatMap
.bind
still available for backwards compatibility - Rename
combine
tozip
andzip
toflatZip
to maintain symmetry withmap
andflatMap
- Rename
bindErr
tozipErr
to better indicate the intended functionality - Rename
do
anddoAsync
totap
andtapAsync
respectively - Add
innerMap
for reducing nesting forResult<Array<T>, E>
map calls - Add experimental
pipe
method. Currently, it's only useful to replace multiplemap
calls
- Rename
- e82ec24: Add innerMap for Option and Result
- 6d3876a: Extensions to Option monad
- 98350ae: Fix function overloading
- 7db4034: Add async map
- d6e3780: Add combine and bindErr utils. Remove zipAsync. Simplify zip and bind internally
- 91bf286: - Add more composition methods to Option
- Fix a bug in Result (Result.Ok(null) will behave as expected)
- Update Result internals
- Add method docs and examples
- Update toolchain
- Update to Typescript 5
- 53b1e45: Fix type inference for Result methods
- 09f28ed: fix exports
- 993650d: Add Unit type
- 0999ed1: Add the monads