fp-ts provides developers with popular patterns and reliable abstractions from typed functional languages in TypeScript. The goal of fp-ts is to empower developers to write pure FP apps and libraries built atop higher order abstractions. It includes the most popular data types, type classes, and abstractions from languages like Haskell, PureScript, and Scala. Functional programming is all about pure functions and how to compose them into bigger structures. fp-ts provides a few general functions to support you with composition, constant functions, and more. Data types are the practical part of fp-ts: you can instantiate them with your data to gain properties and functionality that are useful for solving a specific need. Because data types all share common interfaces (through type classes), once you learn how to use one data type, you can apply the same concepts to the others.

Features

  • Interoperability with non functional code
  • Implementation of Higher Kinded Types, which TypeScript doesn't support natively
  • Make sure to always have a single version of fp-ts installed in your project
  • This library is conceived, tested and is supposed to be consumed by TypeScript
  • Includes the most popular data types, type classes and abstractions
  • Write pure FP apps and libraries built atop higher order abstractions

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow fp-ts

fp-ts Web Site

Other Useful Business Software
The AI workplace management platform Icon
The AI workplace management platform

Plan smart spaces, connect teams, manage assets, and get insights with the leading AI-powered operating system for the built world.

By combining AI workflows, predictive intelligence, and automated insights, OfficeSpace gives leaders a complete view of how their spaces are used and how people work. Facilities, IT, HR, and Real Estate teams use OfficeSpace to optimize space utilization, enhance employee experience, and reduce portfolio costs with precision.
Learn More
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of fp-ts!

Additional Project Details

Programming Language

TypeScript

Related Categories

TypeScript Software Development Software

Registered

2021-09-14