Home
Erik Post edited this page
·
46 revisions
Pages 43
- Home
- 0.7 Migration Guide
- Alternate backends
- Contrib Guidelines
- Dependency Management Discussion
- Differences from Haskell
- Editor and tool support
- Error Code ConflictingImport
- Error Code ConflictingImports
- Error Code DuplicateModuleName
- Error Code ErrorParsingFFIModule
- Error Code ErrorUnifyingTypes
- Error Code EscapedSkolem
- Error Code ExprDoesNotHaveType
- Error Code KindsDoNotUnify
- Error Code MissingFFIModule
- Error Code NoInstanceFound
- Error Code NotExhaustivePattern
- Error Code OrphanInstance
- Error Code OverlappingPattern
- Error Code RedefinedModule
- Error Code ShadowedName
- Error Code TransitiveExportError
- Error Code TypesDoNotUnify
- Error Code UndefinedTypeVariable
- Error Code UnknownImportTypeClass
- Error Code UnknownModule
- Error Code UnknownType
- Export lists
- FFI tips
- GSOC 2015 Projects
- Language Guide
- Pre 0.5 changelog
- Project Ideas
- PSCi
- PureScript and Docker
- PureScript Conf 2015
- PureScript Without Node
- Recommended Libraries
- Related Projects
- Style Guide
- Tips for interpreting error messages
- Understanding fixity declarations
- Show 28 more pages…
Welcome to the PureScript wiki! This wiki is meant to be a collaborative effort, so please feel free to add/edit content where it is appropriate to do so.
Introduction
PureScript is a small strongly, statically typed compile-to-JS language with a number of interesting features, such as:
- Type Inference
- Higher Kinded Polymorphism
- Support for basic Javascript types
- Extensible records
- Extensible effects
- Optimizer rules for generation of efficient Javascript
- Pattern matching
- Simple FFI
- Modules
- Rank N Types
- Do Notation
- Tail-call elimination
- Type Classes
Libraries
Tools
Development Environments
Articles
- First Steps With PureScript - Solving Project Euler #1
- The Foreign Function Interface
- Handling Native Effects with the Eff Monad
- FFI Tips
- Test your Javascript with QuickCheck
- PureScript Without Node
Language Guides
The PureScript Book is the recommended approach to learning the language, since it covers more material in greater depth. Here is the old (now out-of-date) language guide:
Related Languages
- Related Projects
- Differences from Haskell
- Alternate compiler backends for various target languages
TL;DR
- Install PureScript
-
Install Node.js:
brew install node/pacman -S nodejs/choco install nodejs/Download Node.js -
Install Pulp:
npm install -g pulp - GO:
pulp init,pulp dep install purescript-tuples,pulp build --to output.js, etc.