Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More simple typos #414

Merged
merged 3 commits into from Mar 12, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion ch09.md
Expand Up @@ -387,7 +387,7 @@ In the next chapter, we'll see how applicative functors fit into the container w
## Exercises


Condering a User object as follow:
Considering a User object as follow:

```js
const user = {
Expand Down
2 changes: 1 addition & 1 deletion ch10.md
Expand Up @@ -333,7 +333,7 @@ We're almost finished with container apis. We've learned how to `map`, `chain`,
## Exercises

{% exercise %}
Write a function that add's two possibly null numbers together using `Maybe` and `ap`.
Write a function that adds two possibly null numbers together using `Maybe` and `ap`.

{% initial src="./exercises/ch10/exercise_a.js#L3;" %}
```js
Expand Down
2 changes: 1 addition & 1 deletion ch12.md
Expand Up @@ -250,7 +250,7 @@ const validate = player => (player.name ? Either.of(player) : left('must have na

{% exercise %}
Using traversable, and the `validate` function, update `startGame` (and its signature)
to only start the game is all players are valid
to only start the game if all players are valid


{% initial src="./exercises/ch12/exercise_b.js#L7;" %}
Expand Down
2 changes: 1 addition & 1 deletion exercises/ch09/exercise_a.js
@@ -1,4 +1,4 @@
// Condering a User object as follow:
// Considering a User object as follow:
//
// const user = {
// id: 1,
Expand Down
2 changes: 1 addition & 1 deletion exercises/ch10/exercise_a.js
@@ -1,4 +1,4 @@
// Write a function that add's two possibly null numbers together using `Maybe` and `ap`.
// Write a function that adds two possibly null numbers together using `Maybe` and `ap`.

// safeAdd :: Maybe Number -> Maybe Number -> Maybe Number
const safeAdd = undefined;
2 changes: 1 addition & 1 deletion exercises/ch12/exercise_b.js
@@ -1,5 +1,5 @@
// Using traversable, and the `validate` function, update `startGame` (and its signature)
// to only start the game is all players are valid
// to only start the game if all players are valid
//
// // validate :: Player -> Either String Player
// validate = player => (player.name ? Either.of(player) : left('must have name'));
Expand Down