|
3687 | 3687 | "name": "String",
|
3688 | 3688 | "docstrings": [
|
3689 | 3689 | "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`]()" |
3691 | 3691 | ],
|
3692 | 3692 | "items": [
|
3693 | 3693 | {
|
|
3867 | 3867 | "kind": "value",
|
3868 | 3868 | "name": "every",
|
3869 | 3869 | "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." |
3871 | 3871 | ],
|
3872 | 3872 | "signature": "let every: (t, value => bool) => bool"
|
3873 | 3873 | },
|
|
3915 | 3915 | "kind": "value",
|
3916 | 3916 | "name": "partition",
|
3917 | 3917 | "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`." |
3919 | 3919 | ],
|
3920 | 3920 | "signature": "let partition: (t, value => bool) => (t, t)"
|
3921 | 3921 | },
|
|
3996 | 3996 | "kind": "value",
|
3997 | 3997 | "name": "split",
|
3998 | 3998 | "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`." |
4000 | 4000 | ],
|
4001 | 4001 | "signature": "let split: (t, value) => ((t, t), bool)"
|
4002 | 4002 | },
|
|
4016 | 4016 | "name": "Int",
|
4017 | 4017 | "docstrings": [
|
4018 | 4018 | "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`]()" |
4020 | 4020 | ],
|
4021 | 4021 | "items": [
|
4022 | 4022 | {
|
|
4077 | 4077 | "kind": "value",
|
4078 | 4078 | "name": "add",
|
4079 | 4079 | "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." |
4081 | 4081 | ],
|
4082 | 4082 | "signature": "let add: (t, value) => t"
|
4083 | 4083 | },
|
|
4093 | 4093 | "kind": "value",
|
4094 | 4094 | "name": "remove",
|
4095 | 4095 | "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." |
4097 | 4097 | ],
|
4098 | 4098 | "signature": "let remove: (t, value) => t"
|
4099 | 4099 | },
|
|
4325 | 4325 | "kind": "value",
|
4326 | 4326 | "name": "split",
|
4327 | 4327 | "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`." |
4329 | 4329 | ],
|
4330 | 4330 | "signature": "let split: (t, value) => ((t, t), bool)"
|
4331 | 4331 | },
|
|
0 commit comments