Skip to content
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