Skip to content

Commit 5902d16

Browse files
committed
pr feedback
1 parent 5962282 commit 5902d16

12 files changed

+21
-52
lines changed

markdown-pages/docs/manual/interop-cheatsheet.mdx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,6 @@ This is a glossary with examples. All the features are described by later pages.
5151
- [`%debugger`](./embed-raw-javascript.mdx#debugger)
5252
- [`%external`](./bind-to-global-js-values.mdx#special-global-values)
5353
- [`%raw`](./embed-raw-javascript.mdx#paste-raw-js-code)
54-
- [`%re`](./primitive-types.mdx#regular-expression)
5554
- [`%todo`](../../syntax-lookup/extension_todo.mdx)
5655

5756
## Raw JS

markdown-pages/syntax-lookup/builtinfunctions_ignore.mdx

Lines changed: 0 additions & 35 deletions
This file was deleted.

markdown-pages/syntax-lookup/extension_regular_expression.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ keywords: ["regular", "expression", "re"]
44
name: "%re"
55
summary: "This is the `regular expression` extension point."
66
category: "extensionpoints"
7+
status: "deprecated"
78
---
89

910
> Deprecated in favor of native regular expression syntax in v12+

markdown-pages/syntax-lookup/operators_float_addition.mdx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,11 @@ keywords: ["plus", "add", "addition", "sum", "float"]
44
name: "+."
55
summary: "This is the `floating point addition` operator."
66
category: "operators"
7+
status: "deprecated"
78
---
89

10+
> Deprecated, you can just use `+` for both integers and floats since v12.
11+
912
This operator performs _floating point_ addition.
1013

1114
<CodeTab labels={["ReScript", "JS Output"]}>

markdown-pages/syntax-lookup/operators_float_division.mdx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,11 @@ keywords: ["divide", "division", "float"]
44
name: "/."
55
summary: "This is the `floating point division` operator."
66
category: "operators"
7+
status: "deprecated"
78
---
89

10+
> Deprecated, you can just use `/` for both integers and floats since v12.
11+
912
This operator performs _floating point_ division.
1013

1114
<CodeTab labels={["ReScript", "JS Output"]}>

markdown-pages/syntax-lookup/operators_float_multiplication.mdx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,11 @@ keywords: ["multiply", "multiplication", "float"]
44
name: "*."
55
summary: "This is the `floating point multiplication` operator."
66
category: "operators"
7+
status: "deprecated"
78
---
89

10+
> Deprecated, you can just use `*` for both integers and floats since v12.
11+
912
This operator performs _floating point_ multiplication.
1013

1114
<CodeTab labels={["ReScript", "JS Output"]}>

markdown-pages/syntax-lookup/operators_float_subtraction.mdx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,11 @@ keywords: ["subtract", "minus", "subtraction", "float"]
44
name: "-."
55
summary: "This is the `floating point subtraction` operator."
66
category: "operators"
7+
status: "deprecated"
78
---
89

10+
> Deprecated, you can just use `-` for both integers and floats since v12.
11+
912
This operator performs _floating point_ subtraction.
1013

1114
<CodeTab labels={["ReScript", "JS Output"]}>

markdown-pages/syntax-lookup/operators_integer_addition.mdx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,4 @@ val result = 3;
2020

2121
</CodeTab>
2222

23-
For adding _floats_ see the [`+.`](./operators_float_addition.mdx) operator.
24-
2523
For contatenating _strings_ see the [`++`](./operators_string_concatenation.mdx) operator.

markdown-pages/syntax-lookup/operators_integer_division.mdx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,4 @@ let result = 3 / 2
2020
var result = 1;
2121
```
2222

23-
</CodeTab>
24-
25-
For dividing _floats_ see the `/.` operator.
23+
</CodeTab>

markdown-pages/syntax-lookup/operators_integer_multiplication.mdx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,4 @@ let result = 2 * 3
1818
var result = 6;
1919
```
2020

21-
</CodeTab>
22-
23-
For multiplying _floats_ see the `*.` operator.
21+
</CodeTab>

0 commit comments

Comments
 (0)