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 #23 from jhrcek/typos3
Browse files Browse the repository at this point in the history
Final batch of fixes
  • Loading branch information
JordanMartinez committed Jun 4, 2019
2 parents 94a478a + 77bacf6 commit abc8c0a
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/06-Driver/14-Subscribing-to-Messages.purs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ main =

io.subscribe $ CR.consumer \raisedIntVal -> do
liftEffect $ log $
"Consumer 1: Button was clicked and produced a random integer \
"Consumer 2: Button was clicked and produced a random integer \
\value: " <> show raisedIntVal <> "\n\
\\n\
\Since this consumer uses `pure Nothing`, this consumer \
Expand Down
1 change: 0 additions & 1 deletion src/06-Driver/15-Disposing-Components.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,4 @@ To compile the next file and view its results in the browser, use these instruct
```bash
spago bundle-app -m Driver.DisposingComponents -t assets/driver/disposing-components.js
parcel serve assets/driver/disposing-components.html -o disposing-components--parcelified.html --open
# After the page opens, check your browser's console to see the messages
```
2 changes: 1 addition & 1 deletion src/06-Driver/ReadMe.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ main =

### Subscribing to Messages Raised by the Top-Level Component

Section's corresponding files: `Message-Subscribing`
Section's corresponding files: `Subscribing-to-Messages`

When a parent gets notified of a child component's message, it maps the child's message to the parent's action type and handles that action. The `HalogenIO` record type does not have an action type, so we need a different way to respond to messages.

Expand Down
4 changes: 2 additions & 2 deletions src/ReadMe.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Learn Halogen

Halogen works by using a tree-like structure where each entity is a `component`. A `component` is a self-contained entity that knows how to render itself based on its current state, can update its state, can detect and handle events, and can communicate with other `component`s in a hierarchial manner.
Halogen works by using a tree-like structure where each entity is a `component`. A `component` is a self-contained entity that knows how to render itself based on its current state, can update its state, can detect and handle events, and can communicate with other `component`s in a hierarchical manner.

To accomplish all of this, Halogen uses a single `component` type that can be "configured" via 5 other types:
- the `state` type
Expand All @@ -11,7 +11,7 @@ To accomplish all of this, Halogen uses a single `component` type that can be "c

These 5 types are one reason why learning Halogen can be difficult as one can quickly feel overwhelmed by them, especially when new to the Functional Programming paradigm.

To limit this feeling of being overwhelmed, we'll provide some scaffolding that "hides" irrelevent things from you until you understand the foundational concepts first. This scaffolding code will be stored in the `Scaffolding` folder. Feel free to ignore this folder until after you have finished reading through the rest of the folder's contents.
To limit this feeling of being overwhelmed, we'll provide some scaffolding that "hides" irrelevant things from you until you understand the foundational concepts first. This scaffolding code will be stored in the `Scaffolding` folder. Feel free to ignore this folder until after you have finished reading through the rest of the folder's contents.

## Outline

Expand Down

0 comments on commit abc8c0a

Please sign in to comment.