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

Fix markdown for logical OR (||); #971

Merged
merged 1 commit into from
Feb 24, 2025
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.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions pages/docs/manual/v10.0.0/overview.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -43,14 +43,14 @@ canonical: "/docs/manual/latest/overview"

### Boolean

| JavaScript | ReScript |
| ----------------------------------------------------- | ---------------------------------------------- |
| `true`, `false` | Same |
| `!true` | Same |
| <code>&#124;&#124;</code>, `&&`, `<=`, `>=`, `<`, `>` | Same |
| `a === b`, `a !== b` | Same |
| No deep equality (recursive compare) | `a == b`, `a != b` |
| `a == b` | No equality with implicit casting (thankfully) |
| JavaScript | ReScript |
| ------------------------------------- | ---------------------------------------------- |
| `true`, `false` | Same |
| `!true` | Same |
| `\|\|`, `&&`, `<=`, `>=`, `<`, `>` | Same |
| `a === b`, `a !== b` | Same |
| No deep equality (recursive compare) | `a == b`, `a != b` |
| `a == b` | No equality with implicit casting (thankfully) |

### Number

Expand Down Expand Up @@ -234,7 +234,7 @@ Float Division/Multiplication | `2.0 /. 23.0 *. 1.0` | `2.0 /
Float Exponentiation | `2.0 ** 3.0` | `Math.pow(2.0, 3.0)`
String Concatenation | `"Hello " ++ "World"` | `"Hello " + "World"`
Comparison | `>`, `<`, `>=`, `<=` | `>`, `<`, `>=`, `<=`
Boolean operation | `!`, `&&`, <code>&#124;&#124;</code> | `!`, `&&`, <code>&#124;&#124;</code>
Boolean operation | `!`, `&&`, `\|\|` | `!`, `&&`, `\|\|`
Shallow and deep Equality | `===`, `==` | `===`, `==`
List (disrecommended) | `list{1, 2, 3}` | `{hd: 1, tl: {hd: 2, tl: {hd: 3, tl: 0}}}`
List Prepend | `list{a1, a2, ...oldList}` | `{hd: a1, tl: {hd: a2, tl: theRest}}`
Expand Down
18 changes: 9 additions & 9 deletions pages/docs/manual/v11.0.0/overview.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -44,14 +44,14 @@ canonical: "/docs/manual/v11.0.0/overview"

### Boolean

| JavaScript | ReScript |
| ----------------------------------------------------- | ---------------------------------------------- |
| `true`, `false` | Same |
| `!true` | Same |
| <code>&#124;&#124;</code>, `&&`, `<=`, `>=`, `<`, `>` | Same |
| `a === b`, `a !== b` | Same |
| No deep equality (recursive compare) | `a == b`, `a != b` |
| `a == b` | No equality with implicit casting (thankfully) |
| JavaScript | ReScript |
| ------------------------------------ | ---------------------------------------------- |
| `true`, `false` | Same |
| `!true` | Same |
| `\|\|`, `&&`, `<=`, `>=`, `<`, `>` | Same |
| `a === b`, `a !== b` | Same |
| No deep equality (recursive compare) | `a == b`, `a != b` |
| `a == b` | No equality with implicit casting (thankfully) |

### Number

Expand Down Expand Up @@ -243,7 +243,7 @@ The last expression of a block delimited by `{}` implicitly returns (including f
| Float Exponentiation | `2.0 ** 3.0` | `Math.pow(2.0, 3.0)` |
| String Concatenation | `"Hello " ++ "World"` | `"Hello " + "World"` |
| Comparison | `>`, `<`, `>=`, `<=` | `>`, `<`, `>=`, `<=` |
| Boolean operation | `!`, `&&`, <code>&#124;&#124;</code> | `!`, `&&`, <code>&#124;&#124;</code> |
| Boolean operation | `!`, `&&`, `\|\|` | `!`, `&&`, `\|\|` |
| Shallow and deep Equality | `===`, `==` | `===`, `==` |
| List (disrecommended) | `list{1, 2, 3}` | `{hd: 1, tl: {hd: 2, tl: {hd: 3, tl: 0}}}` |
| List Prepend | `list{a1, a2, ...oldList}` | `{hd: a1, tl: {hd: a2, tl: theRest}}` |
Expand Down
18 changes: 9 additions & 9 deletions pages/docs/manual/v12.0.0/overview.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -44,14 +44,14 @@ canonical: "/docs/manual/v12.0.0/overview"

### Boolean

| JavaScript | ReScript |
| ----------------------------------------------------- | ---------------------------------------------- |
| `true`, `false` | Same |
| `!true` | Same |
| <code>&#124;&#124;</code>, `&&`, `<=`, `>=`, `<`, `>` | Same |
| `a === b`, `a !== b` | Same |
| No deep equality (recursive compare) | `a == b`, `a != b` |
| `a == b` | No equality with implicit casting (thankfully) |
| JavaScript | ReScript |
| ------------------------------------- | ---------------------------------------------- |
| `true`, `false` | Same |
| `!true` | Same |
| `\|\|`, `&&`, `<=`, `>=`, `<`, `>` | Same |
| `a === b`, `a !== b` | Same |
| No deep equality (recursive compare) | `a == b`, `a != b` |
| `a == b` | No equality with implicit casting (thankfully) |

### Number

Expand Down Expand Up @@ -243,7 +243,7 @@ The last expression of a block delimited by `{}` implicitly returns (including f
| Float Exponentiation | `2.0 ** 3.0` | `Math.pow(2.0, 3.0)` |
| String Concatenation | `"Hello " ++ "World"` | `"Hello " + "World"` |
| Comparison | `>`, `<`, `>=`, `<=` | `>`, `<`, `>=`, `<=` |
| Boolean operation | `!`, `&&`, <code>&#124;&#124;</code> | `!`, `&&`, <code>&#124;&#124;</code> |
| Boolean operation | `!`, `&&`, `\|\|` | `!`, `&&`, `\|\|` |
| Shallow and deep Equality | `===`, `==` | `===`, `==` |
| List (disrecommended) | `list{1, 2, 3}` | `{hd: 1, tl: {hd: 2, tl: {hd: 3, tl: 0}}}` |
| List Prepend | `list{a1, a2, ...oldList}` | `{hd: a1, tl: {hd: a2, tl: theRest}}` |
Expand Down
18 changes: 9 additions & 9 deletions pages/docs/manual/v8.0.0/overview.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -43,14 +43,14 @@ canonical: "/docs/manual/latest/overview"

### Boolean

| JavaScript | Us |
| ----------------------------------------------------- | ---------------------------------------------- |
| `true`, `false` | Same |
| `!true` | Same |
| <code>&#124;&#124;</code>, `&&`, `<=`, `>=`, `<`, `>` | Same |
| `a === b`, `a !== b` | Same |
| No deep equality (recursive compare) | `a == b`, `a != b` |
| `a == b` | No equality with implicit casting (thankfully) |
| JavaScript | Us |
| ------------------------------------ | ---------------------------------------------- |
| `true`, `false` | Same |
| `!true` | Same |
| `\|\|`, `&&`, `<=`, `>=`, `<`, `>` | Same |
| `a === b`, `a !== b` | Same |
| No deep equality (recursive compare) | `a == b`, `a != b` |
| `a == b` | No equality with implicit casting (thankfully) |

### Number

Expand Down Expand Up @@ -234,7 +234,7 @@ Float Division/Multiplication | `2.0 /. 23.0 *. 1.0` | `2.0 /
Float Exponentiation | `2.0 ** 3.0` | `Math.pow(2.0, 3.0)`
String Concatenation | `"Hello " ++ "World"` | `"Hello " + "World"`
Comparison | `>`, `<`, `>=`, `<=` | `>`, `<`, `>=`, `<=`
Boolean operation | `!`, `&&`, <code>&#124;&#124;</code> | `!`, `&&`, <code>&#124;&#124;</code>
Boolean operation | `!`, `&&`, `\|\|` | `!`, `&&`, `\|\|`
Shallow and deep Equality | `===`, `==` | `===`, `==`
List (disrecommended) | `[1, 2, 3]` | `{hd: 1, tl: {hd: 2, tl: {hd: 3, tl: 0}}}`
List Prepend | `[a1, a2, ...oldList]` | `{hd: a1, tl: {hd: a2, tl: theRest}}`
Expand Down
18 changes: 9 additions & 9 deletions pages/docs/manual/v9.0.0/overview.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -41,14 +41,14 @@ canonical: "/docs/manual/latest/overview"

### Boolean

| JavaScript | ReScript |
| ----------------------------------------------------- | ---------------------------------------------- |
| `true`, `false` | Same |
| `!true` | Same |
| <code>&#124;&#124;</code>, `&&`, `<=`, `>=`, `<`, `>` | Same |
| `a === b`, `a !== b` | Same |
| No deep equality (recursive compare) | `a == b`, `a != b` |
| `a == b` | No equality with implicit casting (thankfully) |
| JavaScript | ReScript |
| ------------------------------------- | ---------------------------------------------- |
| `true`, `false` | Same |
| `!true` | Same |
| `\|\|`, `&&`, `<=`, `>=`, `<`, `>` | Same |
| `a === b`, `a !== b` | Same |
| No deep equality (recursive compare) | `a == b`, `a != b` |
| `a == b` | No equality with implicit casting (thankfully) |

### Number

Expand Down Expand Up @@ -232,7 +232,7 @@ Float Division/Multiplication | `2.0 /. 23.0 *. 1.0` | `2.0 /
Float Exponentiation | `2.0 ** 3.0` | `Math.pow(2.0, 3.0)`
String Concatenation | `"Hello " ++ "World"` | `"Hello " + "World"`
Comparison | `>`, `<`, `>=`, `<=` | `>`, `<`, `>=`, `<=`
Boolean operation | `!`, `&&`, <code>&#124;&#124;</code> | `!`, `&&`, <code>&#124;&#124;</code>
Boolean operation | `!`, `&&`, `\|\|` | `!`, `&&`, `\|\|`
Shallow and deep Equality | `===`, `==` | `===`, `==`
List (disrecommended) | `list{1, 2, 3}` | `{hd: 1, tl: {hd: 2, tl: {hd: 3, tl: 0}}}`
List Prepend | `list{a1, a2, ...oldList}` | `{hd: a1, tl: {hd: a2, tl: theRest}}`
Expand Down
Loading