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

Commit

Permalink
Merge pull request #33 from JordanMartinez/development
Browse files Browse the repository at this point in the history
Various fixes for next release: v2.2.0
  • Loading branch information
JordanMartinez authored Jul 30, 2019
2 parents 51da4e3 + 39e571f commit 8d79df1
Show file tree
Hide file tree
Showing 5 changed files with 184 additions and 177 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ install:
# helpful as to how to do that
- npm i -g npm
# Also update NPM
- npm i -g [email protected].0 [email protected] parcel
# ^ Installing PureScript 0.13.0 hopefully now works
- npm i -g [email protected].2 [email protected] parcel
# ^ Installing PureScript 0.13.2 now works

# Print version numbers
before_script:
Expand Down
25 changes: 12 additions & 13 deletions ReadMe.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,31 +6,30 @@ Learn [`purescript-halogen`](https://github.com/slamdata/purescript-halogen), (`

## 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](https://github.com/JordanMartinez/purescript-jordans-reference/blob/latestRelease/00-Getting-Started/02-Install-Guide.md)
- purescript (v0.13.0)
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](https://github.com/JordanMartinez/purescript-jordans-reference/blob/ps-0.13.x-v0.17.1/00-Getting-Started/02-Install-Guide.md)
- purescript (v0.13.2)
- spago (v0.8.5.0)
- parcel (v1.12.3)

Or, to install them in one line
```bash
npm i -g [email protected].0 [email protected] parcel
npm i -g [email protected].2 [email protected] parcel
```

## Target Audience

**Required:** You are already familiar with...
- PureScript's "Basic" syntax. (If not, see my [Basic Syntax](https://github.com/JordanMartinez/purescript-jordans-reference/tree/latestRelease/11-Syntax/01-Basic-Syntax) overview)
- PureScript's "Module" syntax. (If not, see my [Module Syntax](https://github.com/JordanMartinez/purescript-jordans-reference/tree/latestRelease/11-Syntax/04-Module-Syntax) overview)
- the `purescript-prelude` library. (If not, see my [Prelude-ish](https://github.com/JordanMartinez/purescript-jordans-reference/tree/latestRelease/21-Hello-World/02-Prelude-ish) folder)
- "smart constructors." (If not, read my explanation on [Smart Constructors](https://github.com/JordanMartinez/purescript-jordans-reference/blob/latestRelease/31-Design-Patterns/01-Smart-Constructors.md))
- the `Effect` type and how it works. (If not, see my [Hello World and Effects](https://github.com/JordanMartinez/purescript-jordans-reference/tree/latestRelease/21-Hello-World/03-Hello-World-and-Effects) folder)
- PureScript's "Basic" syntax. (If not, see my [Basic Syntax](https://github.com/JordanMartinez/purescript-jordans-reference/tree/ps-0.13.x-v0.17.1/11-Syntax/01-Basic-Syntax) overview)
- PureScript's "Module" syntax. (If not, see my [Module Syntax](https://github.com/JordanMartinez/purescript-jordans-reference/tree/ps-0.13.x-v0.17.1/11-Syntax/04-Module-Syntax) overview)
- the `purescript-prelude` library. (If not, see my [Prelude-ish](https://github.com/JordanMartinez/purescript-jordans-reference/tree/ps-0.13.x-v0.17.1/21-Hello-World/02-Prelude-ish) folder)
- "smart constructors." (If not, read my explanation on [Smart Constructors](https://github.com/JordanMartinez/purescript-jordans-reference/blob/ps-0.13.x-v0.17.1/31-Design-Patterns/01-Smart-Constructors.md))
- the `Effect` and `Aff` types and how they work. (If not, see my [Effect and Aff](https://github.com/JordanMartinez/purescript-jordans-reference/tree/ps-0.13.x-v0.17.1/21-Hello-World/03-Effect-and-Aff) folder)

**Helpful, but not absolutely necessary**: You are already familiar with...
- the philosophical foundations of Functional Programming. (If not, see my [FP Philosophical Foundations Overview](https://github.com/JordanMartinez/purescript-jordans-reference/tree/latestRelease/01-FP-Philosophical-Foundations))
- PureScript's "Type-Level Programming" syntax. (If not, see my [Type-Level Programming Syntax](https://github.com/JordanMartinez/purescript-jordans-reference/tree/latestRelease/11-Syntax/03-Type-Level-Programming-Syntax) overview)
- "do notation." (If not, see my overview on [Do Notation](https://github.com/JordanMartinez/purescript-jordans-reference/tree/latestRelease/11-Syntax/05-Prelude-Syntax/src). Specifically, `Discard.md` to `Reading Do as Nested Binds.md`)
- monad transformers and how they work. (If not, see my [Application Structure](https://github.com/JordanMartinez/purescript-jordans-reference/tree/latestRelease/21-Hello-World/08-Application-Structure) folder. Specifically, the `MTL` folder.)
- the `Aff` type and how it works. (If not, watch [Async Programming in PureScript](https://www.youtube.com/watch?v=dbM72ap30TE))
- the philosophical foundations of Functional Programming. (If not, see my [FP Philosophical Foundations Overview](https://github.com/JordanMartinez/purescript-jordans-reference/tree/ps-0.13.x-v0.17.1/01-FP-Philosophical-Foundations))
- PureScript's "Type-Level Programming" syntax. (If not, see my [Type-Level Programming Syntax](https://github.com/JordanMartinez/purescript-jordans-reference/tree/ps-0.13.x-v0.17.1/11-Syntax/03-Type-Level-Programming-Syntax) overview)
- "do notation." (If not, see my overview on [Do Notation](https://github.com/JordanMartinez/purescript-jordans-reference/tree/ps-0.13.x-v0.17.1/11-Syntax/05-Prelude-Syntax). Specifically, `Discard.md` to `Reading Do as Nested Binds.md`)
- monad transformers and how they work. (If not, see my [Application Structure](https://github.com/JordanMartinez/purescript-jordans-reference/tree/ps-0.13.x-v0.17.1/21-Hello-World/05-Application-Structure) folder. Specifically, the `MTL` folder.)

## Instructions

Expand Down
4 changes: 3 additions & 1 deletion src/01-Static-HTML/01-Static-HTML.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,9 @@ staticHtml =
```

By default, `purescript-halogen-vdom` includes most HTML elements. However, it does not include the SVG elements. To get that, we need to add [`purescript-halogen-svg`] as a dependency. Unfortunately, that library has not been updated to Halogen `v5.0.0`.
## Where are the SVG elements?

By default, `purescript-halogen-vdom` includes most HTML elements. However, it does not include the SVG elements. To get that, we need to add [`purescript-halogen-svg`] as a dependency. Unfortunately, that library has not been updated to Halogen `v5.0.0`. It might also not compile on the current PureScript release.

Now, look at the next file.

Expand Down
4 changes: 4 additions & 0 deletions src/09-Where-Do-We-Go-From-Here.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Where Do We Go From Here?

## How Does Halogen Work?

See [Questions Regarding the Developement of the PureScript-Halogen Library](https://discourse.purescript.org/t/questions-regarding-the-development-of-the-purescript-halogen-library/236)

## Other Libraries Used in/with Halogen

- [`purescript-web-*` packages](https://pursuit.purescript.org/search?q=purescript-web-)
Expand Down
Loading

0 comments on commit 8d79df1

Please sign in to comment.