import Prelude import Effect.Console (log) greet :: String -> String greet name = "Hello, " <> name <> "!" main = log (greet "World")
Precompiled binaries are available for OSX, Linux, and Windows from the latest release page on GitHub.
npm install -g purescript
(Installation via npm
requires Node version 8 or later)
The recommended build tool for PureScript is Spago, which can be installed using npm
:
npm install -g spago
You might like to install some of these additional tools and editor plugins.
NPM is recommended for managing JavaScript dependencies in your project.
The Pursuit package database hosts searchable documentation for PureScript packages.
The free PureScript By Example book contains several practical projects for PureScript beginners.
Visit the documentation repository on GitHub, the central place where you can find articles, in-depth learning resources for beginners, and more.
There are several places in which people gather to discuss PureScript: