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 ---------- BIBLIOGRAPHY (BibTeX) -------------------- @article{ref0, title = {PureScript}, url = {https://encyclopegia.org/a/purescript} } BIBLIOGRAPHY (RIS) ------------------- TY - JOUR TI - PureScript UR - https://encyclopegia.org/a/purescript ER - CITE THIS ARTICLE ---------------- Cite this article: PureScript Derived from: https://en.wikipedia.org/w/index.php?oldid=1376201472 Licence: CC BY-SA 4.0 Snapshot: enwiki-001376201472 Permalink: /a/purescript