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

Right align table #152

Merged
merged 5 commits into from
Jan 3, 2021
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Right align table
Makes the plain text version easier to read
  • Loading branch information
pickfire authored Jan 3, 2021
commit ba620cb6fd2adf079a6d5fadaf7957126a7d77aa
40 changes: 20 additions & 20 deletions functional/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,16 @@ With imperative programs, we have to play compiler to see what is happening. Her

| `i` | `sum` |
| --- | ----- |
simonsan marked this conversation as resolved.
Show resolved Hide resolved
| 1 | 1 |
| 2 | 3 |
| 3 | 6 |
| 4 | 10 |
| 5 | 15 |
| 6 | 21 |
| 7 | 28 |
| 8 | 36 |
| 9 | 45 |
| 10 | 55 |
| 1 | 1 |
| 2 | 3 |
| 3 | 6 |
| 4 | 10 |
| 5 | 15 |
| 6 | 21 |
| 7 | 28 |
| 8 | 36 |
| 9 | 45 |
| 10 | 55 |

This is how most of us start out programming. We learn that a program is a set of steps.

Expand All @@ -41,13 +41,13 @@ Here, we are composing functions of addition (this closure: `|a, b| a + b)`) wit

| `a` | `b` | result |
| --- | --- | ------ |
simonsan marked this conversation as resolved.
Show resolved Hide resolved
| 0 | 1 | 1 |
| 1 | 2 | 3 |
| 3 | 3 | 6 |
| 6 | 4 | 10 |
| 10 | 5 | 15 |
| 15 | 6 | 21 |
| 21 | 7 | 28 |
| 28 | 8 | 36 |
| 36 | 9 | 45 |
| 45 | 10 | 55 |
| 0 | 1 | 1 |
| 1 | 2 | 3 |
| 3 | 3 | 6 |
| 6 | 4 | 10 |
| 10 | 5 | 15 |
| 15 | 6 | 21 |
| 21 | 7 | 28 |
| 28 | 8 | 36 |
| 36 | 9 | 45 |
| 45 | 10 | 55 |