Skip to content

Commit 0abd086

Browse files
committed
update docs api
Core: 1.5.2 Compiler: 11.0_release branch (64dbabdfd)
1 parent f0a7e11 commit 0abd086

File tree

3 files changed

+51
-201
lines changed

3 files changed

+51
-201
lines changed

data/api/latest/belt.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3687,7 +3687,7 @@
36873687
"name": "String",
36883688
"docstrings": [
36893689
"Specialized when value type is `string`, more efficient than the generic type,\nits compare behavior is fixed using the built-in comparison",
3690-
"This module is [`Belt.Set`]() specialized with value type to be a primitive type.\nIt is more efficient in general, the API is the same with [`Belt_Set`]() except its value type is fixed,\nand identity is not needed(using the built-in one)\n\n**See** [`Belt.Set`]()"
3690+
"This module is [`Belt.Set`]() specialized with value type to be a primitive type.\n It is more efficient in general, the API is the same with [`Belt_Set`]() except its value type is fixed,\n and identity is not needed(using the built-in one)\n\n **See** [`Belt.Set`]()"
36913691
],
36923692
"items": [
36933693
{
@@ -3867,7 +3867,7 @@
38673867
"kind": "value",
38683868
"name": "every",
38693869
"docstrings": [
3870-
"`every(p, s)` checks if all elements of the set satisfy the predicate `p`.\nOrder unspecified."
3870+
"`every(p, s)` checks if all elements of the set satisfy the predicate `p`. Order\nunspecified."
38713871
],
38723872
"signature": "let every: (t, value => bool) => bool"
38733873
},
@@ -3915,7 +3915,7 @@
39153915
"kind": "value",
39163916
"name": "partition",
39173917
"docstrings": [
3918-
"`partition(p, s)` returns a pair of sets `(s1, s2)`, where\n`s1` is the set of all the elements of `s` that satisfy the\npredicate `p`, and `s2` is the set of all the elements of\n`s` that do not satisfy `p`."
3918+
"`partition(p, s)` returns a pair of sets `(s1, s2)`, where `s1` is the set of\nall the elements of `s` that satisfy the predicate `p`, and `s2` is the set of\nall the elements of `s` that do not satisfy `p`."
39193919
],
39203920
"signature": "let partition: (t, value => bool) => (t, t)"
39213921
},
@@ -3996,7 +3996,7 @@
39963996
"kind": "value",
39973997
"name": "split",
39983998
"docstrings": [
3999-
"`split(x, s)` returns a triple `(l, present, r)`, where\n`l` is the set of elements of `s` that are\nstrictly less than `x`;\n`r` is the set of elements of `s` that are\nstrictly greater than `x`;\n`present` is `false` if `s` contains no element equal to `x`,\nor `true` if `s` contains an element equal to `x`."
3999+
"`split(x, s)` returns a triple `(l, present, r)`, where `l` is the set of\nelements of `s` that are strictly less than `x`;`r` is the set of elements of\n`s` that are strictly greater than `x`; `present` is `false` if `s` contains no\nelement equal to `x`, or `true` if `s` contains an element equal to `x`."
40004000
],
40014001
"signature": "let split: (t, value) => ((t, t), bool)"
40024002
},
@@ -4016,7 +4016,7 @@
40164016
"name": "Int",
40174017
"docstrings": [
40184018
"Specialized when value type is `int`, more efficient than the generic type, its\ncompare behavior is fixed using the built-in comparison",
4019-
"This module is [`Belt.Set`]() specialized with value type to be a primitive type.\nIt is more efficient in general, the API is the same with [`Belt_Set`]() except its value type is fixed,\nand identity is not needed(using the built-in one)\n\n**See** [`Belt.Set`]()"
4019+
"This module is [`Belt.Set`]() specialized with value type to be a primitive type.\n It is more efficient in general, the API is the same with [`Belt_Set`]() except its value type is fixed,\n and identity is not needed(using the built-in one)\n\n **See** [`Belt.Set`]()"
40204020
],
40214021
"items": [
40224022
{
@@ -4077,7 +4077,7 @@
40774077
"kind": "value",
40784078
"name": "add",
40794079
"docstrings": [
4080-
"`add(s, x)` if `x` was already in `s`, `s` is returned unchanged."
4080+
"`add(s, x)` If `x` was already in `s`, `s` is returned unchanged."
40814081
],
40824082
"signature": "let add: (t, value) => t"
40834083
},
@@ -4093,7 +4093,7 @@
40934093
"kind": "value",
40944094
"name": "remove",
40954095
"docstrings": [
4096-
"`remove(m, x)` if `x` was not in `m`, `m` is returned reference unchanged."
4096+
"`remove(m, x)` If `x` was not in `m`, `m` is returned reference unchanged."
40974097
],
40984098
"signature": "let remove: (t, value) => t"
40994099
},
@@ -4325,7 +4325,7 @@
43254325
"kind": "value",
43264326
"name": "split",
43274327
"docstrings": [
4328-
"`split(x, s)` returns a triple `(l, present, r)`, where\n`l` is the set of elements of `s` that are\nstrictly less than `x`;\n`r` is the set of elements of `s` that are\nstrictly greater than `x`;\n`present` is `false` if `s` contains no element equal to `x`,\nor `true` if `s` contains an element equal to `x`."
4328+
"`split(x, s)` returns a triple `(l, present, r)`, where `l` is the set of\nelements of `s` that are strictly less than `x`;`r` is the set of elements of\n`s` that are strictly greater than `x`; `present` is `false` if `s` contains no\nelement equal to `x`, or `true` if `s` contains an element equal to `x`."
43294329
],
43304330
"signature": "let split: (t, value) => ((t, t), bool)"
43314331
},

0 commit comments

Comments
 (0)