encyclopegia.org

PureScript

PureScript is a strongly typed, purely functional programming language that transpiles to JavaScript and, with alternate backends, to 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.

PureScript is a strongly typed, purely functional programming language that transpiles to JavaScript and, with alternate backends, to 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. module Main where import Effect.Console (log) main = log "Hello World!" Here, the type of the program is inferred and checked by the PureScript transpiler. A more verbose version of the same program might include explicit type annotations: module Main where import Prelude import Effect (Effect) import Effect.Console (log) main :: Effect Unit main = log "Hello World!"

References

No reference rows published for this article.

Cite this article

MLA

"PureScript." encyclopegia.org, 2026, https://encyclopegia.org/wiki/purescript. Accessed 24 November 2026.

Chicago

"PureScript." encyclopegia.org. Accessed November 24, 2026. https://encyclopegia.org/wiki/purescript.

APA

encyclopegia.org. (2026). PureScript. Retrieved November 24, 2026, from https://encyclopegia.org/wiki/purescript

Accessed November 24, 2026 · CC BY-SA 4.0 · citation page · JSON

Related articles

Tashkent State University of Oriental Studies

enwiki · references available

Nora Herting

enwiki · references available
CC BY-SA 4.0 · share-alike · https://en.wikipedia.org/w/index.php?oldid=1376201472 · 0.5 · snapshot enwiki-001376201472

Cite · JSON · Search

Related services and records

Services

  • Estate — measured countries, lanes and facts
  • Intel — live corroborated events
  • Legal — statutes, cases and citations
  • Encyclopedia — articles with inline sources
  • Space — launches, satellites and orbits
  • Search — federated search and reports
  • Pass — passport account and SSO
  • Corpora — read-only corpus origins
  • e01 — self-hosted corpora and tools

Text and metadata only; each target carries its own sources. Missing data is published as no-data, never estimated.