Programming Tutorials

Excellent Free Tutorials to Learn PureScript

PureScript is a small strongly, statically typed programming language with expressive types, written in and inspired by Haskell, and compiling to Javascript. It can be used to develop web applications, server side apps, and also desktop applications with use of Electron.

Features of this language include:

  • Compile to readable JavaScript and reuse existing JavaScript code easily.
  • An extensive collection of libraries for development of web applications, web servers, apps and more.
  • Excellent tooling and editor support with instant rebuilds.
  • An active community with many learning resources.
  • Build real-world applications using functional techniques and expressive types, such as:
    • Algebraic data types and pattern matching.
    • Row polymorphism and extensible records.
    • Higher kinded types.
    • Type classes with functional dependencies.
    • Higher-rank polymorphism.

Here’s our recommended tutorials to learn PureScript.


1. Make the Leap from Javascript to PureScript by Alex Kelley

Make the Leap from JavaScript to PureScript takes some of the most popular functional programming (FP) abstractions in JavaScript and demonstrates how to implement them in PureScript.

Read the guide


2. Learn PureScript in Y minutes by Fredrik Dyrkell and contributors

PureScript is a small strongly, statically typed language compiling to JavaScript.

Read the tutorial


3. A guide to the PureScript numeric hierarchy by Harry Garrood

This guide aims to give an introduction to the mathematics behind the numeric hierarchy of type classes in PureScript’s Prelude, aimed at people who haven’t (necessarily) studied mathematics beyond a high-school level.

The guide is published under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.

Read the tutorial


4. 24 Days of PureScript 2016 by Phil Freeman

This is a series of blog posts inspired by Oliver Charles’ 24 Days of Hackage, to highlight some of the great work which was being done in the PureScript community.

The posts are published under the Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License.

Read the articles


5. What I Wish I Knew When Learning PureScript by Matthias Pronk

What I Wish I Knew When Learning PureScript offers a concise overview of the PureScript language and ecosystem, in the same style as “What I Wish I Knew When Learning Haskell” by Stephen Diehl.

Read the tutorial


6. Purescript: Haskell + Javascript by Monday Morning Haskell

This series explores PureScript, from the absolute basics of the language to building full web UI’s.

Read the tutorials


7. Real World Halogen by Thomas Honeyman

This guide demonstrates how to build a real world single-page application in PureScript and its most popular framework, Halogen. It comes with over 2,000 lines of commented code so you can see exactly how the ideas presented here translate to idiomatic PureScript.

Read the guide


All tutorials in this series:

Free Programming Tutorials
JavaGeneral-purpose, concurrent, class-based, object-oriented, high-level language
CGeneral-purpose, procedural, portable, high-level language
PythonGeneral-purpose, structured, powerful language
C++General-purpose, portable, free-form, multi-paradigm language
C#Combines the power and flexibility of C++ with the simplicity of Visual Basic
JavaScriptInterpreted, prototype-based, scripting language
PHPPHP has been at the helm of the web for many years
RubyGeneral purpose, scripting, structured, flexible, fully object-oriented language
AssemblyAs close to writing machine code without writing in pure hexadecimal
SwiftPowerful and intuitive general-purpose programming language
GroovyPowerful, optionally typed and dynamic language
GoCompiled, statically typed programming language
PascalImperative and procedural language designed in the late 1960s
PerlHigh-level, general-purpose, interpreted, scripting, dynamic language
RDe facto standard among statisticians and data analysts
COBOLCommon Business-Oriented Language
ScalaModern, object-functional, multi-paradigm, Java-based language
FortranThe first high-level language, using the first compiler
ScratchVisual programming language designed for 8-16 year-old children
LuaDesigned as an embeddable scripting language
LogoDialect of Lisp that features interactivity, modularity, extensibility
RustIdeal for systems, embedded, and other performance critical code
LispUnique features - excellent to study programming constructs
AdaALGOL-like programming language, extended from Pascal and others
HaskellStandardized, general-purpose, polymorphically, statically typed language
SchemeGeneral-purpose, functional, language descended from Lisp and Algol
PrologGeneral purpose, declarative, logic programming language
ForthImperative stack-based programming language
ClojureDialect of the Lisp programming language
JuliaHigh-level, high-performance language for technical computing
SQLAccess and manipulate data held in a relational database management system
ErlangGeneral-purpose, concurrent, declarative, functional language
VimLPowerful scripting language of the Vim editor
OCamlGeneral-purpose, powerful, high-level language
AwkVersatile language designed for pattern scanning and processing
RacketPlatform for programming language design and implementation
BASICFamily of general-purpose, high-level programming languages
CoffeeScriptA very succinct programming language that transcompiles into JavaScript
LaTeXProfessional document preparation system and document markup language
ElixirRelatively new functional language that runs on the Erlang virtual machine
DartClient-optimized programming language for fast apps
ABAPAdvanced Business Application Programming
F#General purpose, strongly typed, multi-paradigm language. Part of ML
ChapelParallel-programming language in development at Cray Inc.
DylanMulti-paradigm language, supports functional & object-oriented programming
DGeneral-purpose systems programming language with a C-like syntax
SolidityObject-oriented, high-level language for implementing smart contracts
XMLSet of rules for defining semantic tags that describe the structure and meaning
ValaObject-oriented language with a self-hosting compiler that generates C code
ECMAScriptBest known as the language embedded in web browsers
KotlinStatically typed, general-purpose programming language with type inference
TypeScriptStrict syntactical superset of JavaScript, adding optional static typing
MarkdownPlain text formatting syntax designed to be easy-to-read and easy-to-write
PikeInterpreted, general-purpose, high-level, cross-platform, dynamic language
HTMLHyperText Markup Language
FactorDynamic stack-based language
Objective-CGeneral purpose language which is a superset of C
Standard MLOne of the two main dialects of the ML language
AliceEducational language with an integrated development environment
AgdaDependently typed functional language based on intuitionistic type theory
IconHigh-level, general-purpose language
PureScriptSmall strongly, statically typed language with expressive types
TclDynamic language based on concepts of Lisp, C, and Unix shells
EiffelObject-oriented language
ClojureScriptCompiler for Clojure that targets JavaScript
QMLHierarchical declarative language for user interface layout with a syntax to JSON
VHDLVery High Speed Integrated Circuit Hardware Description Language
OpenCLOpen Computing Language
ElmFunctional language that compiles to JavaScript
HamlHTML Abstraction Markup Language
JArray programming language based primarily on APL
Share this article

Share your Thoughts

This site uses Akismet to reduce spam. Learn how your comment data is processed.