Skip to content

Releases: carbonteq/fp

v0.8.2

17 Jun 00:56
1e04292
Compare
Choose a tag to compare

Patch Changes

  • ef4476f: Remove node specific export to fix bun types

v0.8.1

17 Jun 00:40
abf9715
Compare
Choose a tag to compare

Patch Changes

  • 0ef93f7: Update exports for better bun compatibility and tree-shaking

v0.8.0

20 May 16:06
cc46402
Compare
Choose a tag to compare

Minor Changes

  • 13979ad: Rewrite Option and most of Result to be async chainable

Patch Changes

v0.8.0-alpha.1

20 May 15:59
d5938f2
Compare
Choose a tag to compare
v0.8.0-alpha.1 Pre-release
Pre-release

@carbonteq/fp

0.8.0-alpha.0

Minor Changes

  • 13979ad: Rewrite Option and most of Result to be async chainable

Patch Changes

0.7.0

Minor Changes

0.6.0

Minor Changes

  • c2f13ea: Update external API (and consequently internals)

    • Rename bind to flatMap. bind still available for backwards compatibility
    • Rename combine to zip and zip to flatZip to maintain symmetry with map and flatMap
    • Rename bindErr to zipErr to better indicate the intended functionality
    • Rename do and doAsync to tap and tapAsync respectively
    • Add innerMap for reducing nesting for Result<Array<T>, E> map calls
    • Add experimental pipe method. Currently, it's only useful to replace multiple map calls

0.5.4

Patch Changes

  • e82ec24: Add innerMap for Option and Result

0.5.3

Patch Changes

  • 6d3876a: Extensions to Option monad

0.5.2

Patch Changes

  • 98350ae: Fix function overloading

0.5.1

Patch Changes

0.5.0

Minor Changes

  • d6e3780: Add combine and bindErr utils. Remove zipAsync. Simplify zip and bind internally

0.4.0

Minor Changes

  • 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

0.3.2

Patch Changes

  • 53b1e45: Fix type inference for Result methods

0.3.1

Patch Changes

0.3.0

Minor Changes

0.2.0

Minor Changes

v0.7.0

15 Nov 19:36
32450f5
Compare
Choose a tag to compare

Minor Changes

v0.6.0

22 Jul 11:56
f8f258d
Compare
Choose a tag to compare

Minor Changes

  • c2f13ea: Update external API (and consequently internals)

    • Rename bind to flatMap. bind still available for backwards compatibility
    • Rename combine to zip and zip to flatZip to maintain symmetry with map and flatMap
    • Rename bindErr to zipErr to better indicate the intended functionality
    • Rename do and doAsync to tap and tapAsync respectively
    • Add innerMap for reducing nesting for Result<Array<T>, E> map calls
    • Add experimental pipe method. Currently, it's only useful to replace multiple map calls

v0.5.4

19 Jul 15:04
904ed6b
Compare
Choose a tag to compare

Patch Changes

  • e82ec24: Add innerMap for Option and Result

v0.5.3

17 Jul 10:33
bd5f6c4
Compare
Choose a tag to compare

Patch Changes

  • 6d3876a: Extensions to Option monad

v0.5.2

11 Jul 18:51
cb0a4ac
Compare
Choose a tag to compare

Patch Changes

  • 98350ae: Fix function overloading

v0.5.1

11 Jul 18:28
503ace7
Compare
Choose a tag to compare

Patch Changes