Skip to content
This repository has been archived by the owner on Mar 18, 2021. It is now read-only.

Learn purescript-halogen using a bottom-up apporach via this "clone-and-play" repository

Notifications You must be signed in to change notification settings

JordanMartinez/learn-halogen

Repository files navigation

Learn Halogen

This repo has been archived. Feel free to fork it and continue maintaining it provided you abide by the license restrictions below. This repo has NOT been updated to compile on PureScript v0.14.0, nor Halogen v6.0.0, nor any PureScript or Halogen releases made after those. The last versions on which this repo compiled correctly was PureScript v0.13.8 and Halogen v5.0.0-rc.5.

See Archiving my 'Learn Halogen' repo for more details.


Build Status

Learn purescript-halogen, (v5.0.0-rc.5) from a bottom-up approach

Requirements

Before learning Halogen via this project, you will need to install the following. (If you don't have them already installed, see my purescript learning repo's Install Guide

  • purescript (v0.13.6)
  • spago (v0.14.0)
  • parcel (v1.12.4)

Or, to install them in one line

Or, instead of install globally, install relatively to this project

npm i

If you choose this approach, all aftermentioned commond like spago ... and parcel ... shall be prefix with npm run. e.g.

  • npm run spago bundle-app -m ...
  • npm run parcel serve ...

Target Audience

Required: You are already familiar with...

  • PureScript's "Basic" syntax. (If not, see my Basic Syntax overview)
  • PureScript's "Module" syntax. (If not, see my Module Syntax overview)
  • the purescript-prelude library. (If not, see my Prelude-ish folder)
  • "smart constructors." (If not, read my explanation on Smart Constructors)
  • the Effect and Aff types and how they work. (If not, see my Effect and Aff folder)

Helpful, but not absolutely necessary: You are already familiar with...

Instructions

  1. Git clone this project
  2. Run spago build
  3. Run spago docs --open
  4. Read through each folder using the same rules that I use in my learning repo (described in the third bullet point here).

Don't want to clone-and-play? Then read through this repo using the Table of Contents file.

License

This project is licensed under the Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International license: (Human-readable version), (Actual License)

Creative Commons Licence

About

Learn purescript-halogen using a bottom-up apporach via this "clone-and-play" repository

Resources

Stars

Watchers

Forks

Packages

No packages published