PureScript
A strongly typed functional programming language with a compiler that produces readable JavaScript.
Open source (MIT)By The PureScript contributors
Compare PureScript with another product
Read the PureScript documentation
1 more way to get PureScript
Homebrew
brew install purescript
Alternatives
See all alternativesAbout PureScript
PureScript is a functional programming language that compiles to readable JavaScript and can reuse existing JavaScript code. Its type system includes algebraic data types with pattern matching, row polymorphism and extensible records, higher kinded types, type classes with functional dependencies and higher-rank polymorphism.
Precompiled compiler binaries are available for macOS, Linux and Windows, or it can be installed with npm. Spago is the recommended build tool, and the Pursuit package database hosts searchable library documentation. It suits developers who want strong static types for web applications, web servers and other JavaScript targets.
Strengths
- Expressive type system with row polymorphism and type classes
- Compiles to readable JavaScript with easy interop
- Editor support with instant rebuilds
- Searchable library documentation on Pursuit
Limitations
- Smaller ecosystem than mainstream JavaScript or TypeScript
- Functional style has a learning curve for newcomers
Details
- Pricing
- FreeFree and open source under the MIT licence.
- License
- MIT
- Developer
- The PureScript contributors
- Platforms
- Windows, macOS, Linux, Command line
- How it runs
- Downloadable app
- Account
- Not required
- Works offline
- Yes
- Best suited for
- Developers who want Haskell-style typed functional programming for JavaScript targets
- Categories
- Developer tools
- Last verified
- Added
- Sources