Packages

fp-ts

2.16.11 · 18 Aug 2025MIT6.2M / weekRepositorynpmAtom feed

Your version

2.4.0

8 Jan 2020Where it was published

2.16.11 is the newest release of 2.x.

In short

2 deprecated14 new1 internal

  • deprecated

    Deprecate getSemigroup in favor of getMonoid

  • deprecated

    Deprecate semigroupOrdering in favor of monoidOrdering

Release note

  • New Feature

    • add WriterT module, closes #1050

    • add TheseT module

    • add TaskThese module

    • function

      • add tupled, untupled functions, closes #1062

    • IOEither

      • add fromEitherK, chainEitherK

    • ReaderEither

      • add fromEitherK, chainEitherK

    • ReaderTask

      • add run

      • add fromIOK, chainIOK, fromTaskK, chainTaskK

    • ReaderTaskEither

      • add fromEitherK, chainEitherK, fromIOEitherK, chainIOEitherK, fromTaskEitherK, chainTaskEitherK

    • These

      • add swap

    • Ord

      • add getMonoid

    • Ordering

      • add monoidOrdering

    • StateReaderTaskEither

      • add fromEitherK, chainEitherK, fromIOEitherK, chainIOEitherK, fromTaskEitherK, chainTaskEitherK, fromReaderTaskEitherK, chainReaderTaskEitherK

    • Task

      • add fromIOK, chainIOK

    • TaskEither

      • add fromEitherK, chainEitherK, fromIOEitherK, chainIOEitherK

  • Deprecation

    • Ord

      • deprecate getSemigroup in favor of getMonoid

    • Ordering

      • deprecate semigroupOrdering in favor of monoidOrdering

  • Internal

    • use native Promise.race in Task.getRaceMonoid