PureScript

PureScript
Paradigmfunctional
FamilyHaskell
Designed byPhil Freeman
First appeared2013 (2013)
Stable release
0.15.15  / 7 February 2024 (7 February 2024)
Typing disciplineInferred, static, strong
LicenseBSD 3-clause
Filename extensions.purs
Websitewww.purescript.org
Influenced by
Haskell, JavaScript

PureScript is a strongly-typed, purely-functional programming language that transpiles to JavaScript, C++11, Erlang, and Go. It can be used to develop web applications, server side apps, and also desktop applications with use of Electron or via C++11 and Go compilers with suitable libraries. Its syntax is mostly comparable to that of Haskell. Also, it introduces row polymorphism and extensible records. Also, contrary to Haskell, the PureScript language is defined as having a strict evaluation strategy, although there are non-conforming back-ends which implement a lazy evaluation strategy. It is free and open-source software released under a BSD 3-clause license.