Skip to content

Commit 83142d3

Browse files
committed
rephrase ignore documentation
1 parent 9f8ddc1 commit 83142d3

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

53 files changed

+55
-55
lines changed

runtime/Stdlib_Array.resi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1259,7 +1259,7 @@ let last: array<'a> => option<'a>
12591259
/**
12601260
`ignore(array)` ignores the provided array and returns unit.
12611261
1262-
This helper is useful when you want to discard a value (for example, the result of a side-effecting operation)
1262+
This helper is useful when you want to discard a value (for example, the result of an operation with side effects)
12631263
without having to store or process it further.
12641264
*/
12651265
external ignore: array<'a> => unit = "%ignore"

runtime/Stdlib_AsyncIterator.resi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ let forEach: (t<'a>, option<'a> => unit) => promise<unit>
190190
/**
191191
`ignore(iterator)` ignores the provided async iterator and returns unit.
192192
193-
This helper is useful when you want to discard a value (for example, the result of a side-effecting operation)
193+
This helper is useful when you want to discard a value (for example, the result of an operation with side effects)
194194
without having to store or process it further.
195195
196196
*/

runtime/Stdlib_BigInt.res

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ let lnot = x => lxor(x, -1n)
9696
/**
9797
`ignore(bigint)` ignores the provided bigint and returns unit.
9898
99-
This helper is useful when you want to discard a value (for example, the result of a side-effecting operation)
99+
This helper is useful when you want to discard a value (for example, the result of an operation with side effects)
100100
without having to store or process it further.
101101
*/
102102
external ignore: bigint => unit = "%ignore"

runtime/Stdlib_BigInt64Array.res

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ external fromArrayLikeOrIterableWithMap: ('a, ('b, int) => bigint) => t = "BigIn
5656
/**
5757
`ignore(bigIntArray)` ignores the provided bigIntArray and returns unit.
5858
59-
This helper is useful when you want to discard a value (for example, the result of a side-effecting operation)
59+
This helper is useful when you want to discard a value (for example, the result of an operation with side effects)
6060
without having to store or process it further.
6161
*/
6262
external ignore: t => unit = "%ignore"

runtime/Stdlib_BigUint64Array.res

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ external fromArrayLikeOrIterableWithMap: ('a, ('b, int) => bigint) => t = "BigUi
5656
/**
5757
`ignore(bigUintArray)` ignores the provided bigUintArray and returns unit.
5858
59-
This helper is useful when you want to discard a value (for example, the result of a side-effecting operation)
59+
This helper is useful when you want to discard a value (for example, the result of an operation with side effects)
6060
without having to store or process it further.
6161
*/
6262
external ignore: t => unit = "%ignore"

runtime/Stdlib_DataView.res

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ external fromBufferWithRange: (Stdlib_ArrayBuffer.t, ~byteOffset: int, ~length:
3939
/**
4040
`ignore(dataView)` ignores the provided dataView and returns unit.
4141
42-
This helper is useful when you want to discard a value (for example, the result of a side-effecting operation)
42+
This helper is useful when you want to discard a value (for example, the result of an operation with side effects)
4343
without having to store or process it further.
4444
*/
4545
external ignore: t => unit = "%ignore"

runtime/Stdlib_Date.resi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1362,7 +1362,7 @@ external toJSON: t => option<string> = "toJSON"
13621362
/**
13631363
`ignore(date)` ignores the provided date and returns unit.
13641364
1365-
This helper is useful when you want to discard a value (for example, the result of a side-effecting operation)
1365+
This helper is useful when you want to discard a value (for example, the result of an operation with side effects)
13661366
without having to store or process it further.
13671367
*/
13681368
external ignore: t => unit = "%ignore"

runtime/Stdlib_Dict.resi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ let has: (dict<'a>, string) => bool
261261
/**
262262
`ignore(dict)` ignores the provided dict and returns unit.
263263
264-
This helper is useful when you want to discard a value (for example, the result of a side-effecting operation)
264+
This helper is useful when you want to discard a value (for example, the result of an operation with side effects)
265265
without having to store or process it further.
266266
*/
267267
external ignore: dict<'a> => unit = "%ignore"

runtime/Stdlib_Error.resi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ let panic: string => 'a
184184
/**
185185
`ignore(error)` ignores the provided error and returns unit.
186186
187-
This helper is useful when you want to discard a value (for example, the result of a side-effecting operation)
187+
This helper is useful when you want to discard a value (for example, the result of an operation with side effects)
188188
without having to store or process it further.
189189
*/
190190
external ignore: t => unit = "%ignore"

runtime/Stdlib_Exn.resi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ let raiseUriError: string => 'a
6363
/**
6464
`ignore(exn)` ignores the provided exn and returns unit.
6565
66-
This helper is useful when you want to discard a value (for example, the result of a side-effecting operation)
66+
This helper is useful when you want to discard a value (for example, the result of an operation with side effects)
6767
without having to store or process it further.
6868
*/
6969
external ignore: t => unit = "%ignore"

0 commit comments

Comments
 (0)