@fable-org/fable-library-js 2.0.0-beta.3 → 2.0.0-beta.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Array.js +64 -60
- package/Async.js +8 -7
- package/AsyncBuilder.js +6 -6
- package/BigInt.js +3 -3
- package/Boolean.js +2 -1
- package/CHANGELOG.md +12 -0
- package/Char.js +64 -31
- package/CollectionUtil.js +3 -3
- package/Date.js +50 -46
- package/DateOffset.js +38 -48
- package/DateOnly.js +6 -6
- package/Decimal.js +4 -4
- package/Double.js +2 -1
- package/FSharp.Collections.js +28 -10
- package/FSharp.Core.js +19 -19
- package/Global.js +21 -0
- package/Guid.js +5 -4
- package/Int32.js +17 -17
- package/List.js +74 -63
- package/Long.js +3 -2
- package/MailboxProcessor.js +2 -1
- package/Map.js +39 -42
- package/MapUtil.js +4 -4
- package/MutableMap.js +22 -10
- package/MutableSet.js +3 -3
- package/Native.js +9 -3
- package/Option.js +10 -2
- package/Random.js +13 -12
- package/Range.js +2 -2
- package/Reflection.js +16 -16
- package/RegExp.js +4 -3
- package/Seq.js +38 -46
- package/Set.js +41 -42
- package/String.js +44 -35
- package/System.Collections.Generic.js +22 -6
- package/System.Text.js +8 -8
- package/System.js +283 -0
- package/TimeOnly.js +6 -6
- package/TimeSpan.js +5 -5
- package/Types.js +1 -17
- package/Uri.js +25 -19
- package/Util.js +32 -9
- package/package.json +23 -23
- package/Array.d.ts +0 -123
- package/Async.d.ts +0 -26
- package/AsyncBuilder.d.ts +0 -59
- package/BigInt.d.ts +0 -129
- package/BitConverter.d.ts +0 -27
- package/Boolean.d.ts +0 -3
- package/Char.d.ts +0 -65
- package/Choice.d.ts +0 -121
- package/CollectionUtil.d.ts +0 -7
- package/ConditionalWeakTable.d.ts +0 -9
- package/Date.d.ts +0 -69
- package/DateOffset.d.ts +0 -64
- package/DateOnly.d.ts +0 -18
- package/Decimal.d.ts +0 -63
- package/Double.d.ts +0 -11
- package/Encoding.d.ts +0 -12
- package/Event.d.ts +0 -31
- package/FSharp.Collections.d.ts +0 -7
- package/FSharp.Core.CompilerServices.d.ts +0 -12
- package/FSharp.Core.d.ts +0 -31
- package/Global.d.ts +0 -24
- package/Guid.d.ts +0 -10
- package/Int32.d.ts +0 -28
- package/List.d.ts +0 -143
- package/Long.d.ts +0 -3
- package/MailboxProcessor.d.ts +0 -25
- package/Map.d.ts +0 -178
- package/MapUtil.d.ts +0 -12
- package/MutableMap.d.ts +0 -52
- package/MutableSet.d.ts +0 -39
- package/Native.d.ts +0 -2
- package/Numeric.d.ts +0 -20
- package/Observable.d.ts +0 -32
- package/Option.d.ts +0 -28
- package/Random.d.ts +0 -37
- package/Range.d.ts +0 -12
- package/Reflection.d.ts +0 -119
- package/RegExp.d.ts +0 -10
- package/Result.d.ts +0 -37
- package/Seq.d.ts +0 -165
- package/Seq2.d.ts +0 -18
- package/Set.d.ts +0 -190
- package/String.d.ts +0 -58
- package/System.Collections.Generic.d.ts +0 -79
- package/System.Text.d.ts +0 -39
- package/SystemException.d.ts +0 -5
- package/SystemException.js +0 -5
- package/TimeOnly.d.ts +0 -15
- package/TimeSpan.d.ts +0 -35
- package/Timer.d.ts +0 -19
- package/Types.d.ts +0 -58
- package/Unicode.13.0.0.d.ts +0 -2
- package/Uri.d.ts +0 -31
- package/Util.d.ts +0 -210
- package/lib/big.d.ts +0 -5
package/Date.d.ts
DELETED
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* DateTimeOffset functions.
|
|
3
|
-
*
|
|
4
|
-
* Note: Date instances are always DateObjects in local
|
|
5
|
-
* timezone (because JS dates are all kinds of messed up).
|
|
6
|
-
* A local date returns UTC epoch when `.getTime()` is called.
|
|
7
|
-
*
|
|
8
|
-
* Basically; invariant: date.getTime() always return UTC time.
|
|
9
|
-
*/
|
|
10
|
-
import { int64 } from "./BigInt.js";
|
|
11
|
-
import { FSharpRef } from "./Types.js";
|
|
12
|
-
import { compareDates, DateKind, IDateTime, IDateTimeOffset } from "./Util.js";
|
|
13
|
-
export type OffsetInMinutes = number;
|
|
14
|
-
export type Offset = "Z" | OffsetInMinutes | null;
|
|
15
|
-
export declare function kind(value: IDateTime): number;
|
|
16
|
-
export declare function unixEpochMillisecondsToTicks(ms: number, offset: number): int64;
|
|
17
|
-
export declare function ticksToUnixEpochMilliseconds(ticks: number | bigint): number;
|
|
18
|
-
export declare function dateOffsetToString(offset: number): string;
|
|
19
|
-
export declare function toString(date: IDateTime | IDateTimeOffset, format?: string, _provider?: any): string;
|
|
20
|
-
export declare function DateTime(value: number, kind?: DateKind): IDateTime;
|
|
21
|
-
export declare function fromTicks(ticks: number | bigint, kind?: DateKind): IDateTime;
|
|
22
|
-
export declare function fromDateTimeOffset(date: IDateTimeOffset, kind: DateKind): IDateTime;
|
|
23
|
-
export declare function getTicks(date: IDateTime | IDateTimeOffset): bigint;
|
|
24
|
-
export declare function minValue(): IDateTime;
|
|
25
|
-
export declare function maxValue(): IDateTime;
|
|
26
|
-
export declare function parseRaw(input: string): [Date, Offset];
|
|
27
|
-
export declare function parse(str: string, detectUTC?: boolean): IDateTime;
|
|
28
|
-
export declare function tryParse(v: string, defValue: FSharpRef<IDateTime>): boolean;
|
|
29
|
-
export declare function create(year: number, month: number, day: number, h?: number, m?: number, s?: number, ms?: number, kind?: DateKind): IDateTime;
|
|
30
|
-
export declare function now(): IDateTime;
|
|
31
|
-
export declare function utcNow(): IDateTime;
|
|
32
|
-
export declare function today(): IDateTime;
|
|
33
|
-
export declare function isLeapYear(year: number): boolean;
|
|
34
|
-
export declare function daysInMonth(year: number, month: number): 29 | 28 | 31 | 30;
|
|
35
|
-
export declare function toUniversalTime(date: IDateTime): IDateTime;
|
|
36
|
-
export declare function toLocalTime(date: IDateTime): IDateTime;
|
|
37
|
-
export declare function specifyKind(d: IDateTime, kind: DateKind): IDateTime;
|
|
38
|
-
export declare function timeOfDay(d: IDateTime): number;
|
|
39
|
-
export declare function date(d: IDateTime): IDateTime;
|
|
40
|
-
export declare function day(d: IDateTime): number;
|
|
41
|
-
export declare function hour(d: IDateTime): number;
|
|
42
|
-
export declare function millisecond(d: IDateTime): number;
|
|
43
|
-
export declare function minute(d: IDateTime): number;
|
|
44
|
-
export declare function month(d: IDateTime): number;
|
|
45
|
-
export declare function second(d: IDateTime): number;
|
|
46
|
-
export declare function year(d: IDateTime): number;
|
|
47
|
-
export declare function dayOfWeek(d: IDateTime): number;
|
|
48
|
-
export declare function dayOfYear(d: IDateTime): number;
|
|
49
|
-
export declare function add(d: IDateTime, ts: number): IDateTime;
|
|
50
|
-
export declare function addDays(d: IDateTime, v: number): IDateTime;
|
|
51
|
-
export declare function addHours(d: IDateTime, v: number): IDateTime;
|
|
52
|
-
export declare function addMinutes(d: IDateTime, v: number): IDateTime;
|
|
53
|
-
export declare function addSeconds(d: IDateTime, v: number): IDateTime;
|
|
54
|
-
export declare function addMilliseconds(d: IDateTime, v: number): IDateTime;
|
|
55
|
-
export declare function addTicks(d: IDateTime, v: int64): IDateTime;
|
|
56
|
-
export declare function addYears(d: IDateTime, v: number): IDateTime;
|
|
57
|
-
export declare function addMonths(d: IDateTime, v: number): IDateTime;
|
|
58
|
-
export declare function subtract<Input extends number | IDateTime, Output = Input extends number ? IDateTime : number>(d: IDateTime, that: Input): Output;
|
|
59
|
-
export declare function toLongDateString(d: IDateTime): string;
|
|
60
|
-
export declare function toShortDateString(d: IDateTime): string;
|
|
61
|
-
export declare function toLongTimeString(d: IDateTime): string;
|
|
62
|
-
export declare function toShortTimeString(d: IDateTime): string;
|
|
63
|
-
export declare function equals(d1: IDateTime, d2: IDateTime): boolean;
|
|
64
|
-
export declare const compare: typeof compareDates;
|
|
65
|
-
export declare const compareTo: typeof compareDates;
|
|
66
|
-
export declare function op_Addition(x: IDateTime, y: number): IDateTime;
|
|
67
|
-
export declare function op_Subtraction<Input extends number | IDateTime, Output = Input extends number ? IDateTime : number>(x: IDateTime, y: Input): Output;
|
|
68
|
-
export declare function isDaylightSavingTime(x: IDateTime): boolean;
|
|
69
|
-
export default DateTime;
|
package/DateOffset.d.ts
DELETED
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* DateTimeOffset functions.
|
|
3
|
-
*
|
|
4
|
-
* Note: DateOffset instances are always DateObjects in local
|
|
5
|
-
* timezone (because JS dates are all kinds of messed up).
|
|
6
|
-
* A local date returns UTC epoch when `.getTime()` is called.
|
|
7
|
-
*
|
|
8
|
-
* However, this means that in order to construct an UTC date
|
|
9
|
-
* from a DateOffset with offset of +5 hours, you first need
|
|
10
|
-
* to subtract those 5 hours, than add the "local" offset.
|
|
11
|
-
* As said, all kinds of messed up.
|
|
12
|
-
*
|
|
13
|
-
* Basically; invariant: date.getTime() always return UTC time.
|
|
14
|
-
*/
|
|
15
|
-
import { int64 } from "./BigInt.js";
|
|
16
|
-
import { FSharpRef } from "./Types.js";
|
|
17
|
-
import { IDateTime, IDateTimeOffset } from "./Util.js";
|
|
18
|
-
export default function DateTimeOffset(value: number, offset?: number): IDateTimeOffset;
|
|
19
|
-
export declare function offset(value: IDateTimeOffset): number;
|
|
20
|
-
export declare function fromDate(date: IDateTime, offset?: number): IDateTimeOffset;
|
|
21
|
-
export declare function fromTicks(ticks: int64, offset: number): IDateTimeOffset;
|
|
22
|
-
export declare function fromUnixTimeMilliseconds(ms: int64): IDateTimeOffset;
|
|
23
|
-
export declare function fromUnixTimeSeconds(seconds: int64): IDateTimeOffset;
|
|
24
|
-
export declare function getUtcTicks(date: IDateTimeOffset): bigint;
|
|
25
|
-
export declare function minValue(): IDateTimeOffset;
|
|
26
|
-
export declare function maxValue(): IDateTimeOffset;
|
|
27
|
-
export declare function parse(str: string): IDateTimeOffset;
|
|
28
|
-
export declare function tryParse(v: string, defValue: FSharpRef<IDateTimeOffset>): boolean;
|
|
29
|
-
export declare function create(year: number, month: number, day: number, h: number, m: number, s: number, ms: number, offset?: number): IDateTimeOffset;
|
|
30
|
-
export declare function now(): IDateTimeOffset;
|
|
31
|
-
export declare function utcNow(): IDateTimeOffset;
|
|
32
|
-
export declare function toUniversalTime(date: IDateTimeOffset): Date;
|
|
33
|
-
export declare function toLocalTime(date: IDateTimeOffset): Date;
|
|
34
|
-
export declare function localDateTime(date: IDateTimeOffset): Date;
|
|
35
|
-
export declare function timeOfDay(d: IDateTimeOffset): number;
|
|
36
|
-
export declare function date(d: IDateTimeOffset): IDateTime;
|
|
37
|
-
export declare function day(d: IDateTimeOffset): number;
|
|
38
|
-
export declare function hour(d: IDateTimeOffset): number;
|
|
39
|
-
export declare function millisecond(d: IDateTimeOffset): number;
|
|
40
|
-
export declare function minute(d: IDateTimeOffset): number;
|
|
41
|
-
export declare function month(d: IDateTimeOffset): number;
|
|
42
|
-
export declare function second(d: IDateTimeOffset): number;
|
|
43
|
-
export declare function year(d: IDateTimeOffset): number;
|
|
44
|
-
export declare function dayOfWeek(d: IDateTimeOffset): number;
|
|
45
|
-
export declare function dayOfYear(d: IDateTimeOffset): number;
|
|
46
|
-
export declare function add(d: IDateTimeOffset, ts: number): IDateTimeOffset;
|
|
47
|
-
export declare function addDays(d: IDateTimeOffset, v: number): IDateTimeOffset;
|
|
48
|
-
export declare function addHours(d: IDateTimeOffset, v: number): IDateTimeOffset;
|
|
49
|
-
export declare function addMinutes(d: IDateTimeOffset, v: number): IDateTimeOffset;
|
|
50
|
-
export declare function addSeconds(d: IDateTimeOffset, v: number): IDateTimeOffset;
|
|
51
|
-
export declare function addMilliseconds(d: IDateTimeOffset, v: number): IDateTimeOffset;
|
|
52
|
-
export declare function addTicks(d: IDateTimeOffset, v: int64): IDateTimeOffset;
|
|
53
|
-
export declare function addYears(d: IDateTimeOffset, v: number): IDateTimeOffset;
|
|
54
|
-
export declare function addMonths(d: IDateTimeOffset, v: number): IDateTimeOffset;
|
|
55
|
-
export declare function subtract<Input extends number | IDateTimeOffset, Output = Input extends number ? IDateTimeOffset : number>(d: IDateTimeOffset, that: Input): Output;
|
|
56
|
-
export declare function equals(d1: IDateTimeOffset, d2: IDateTimeOffset): boolean;
|
|
57
|
-
export declare function equalsExact(d1: IDateTimeOffset, d2: IDateTimeOffset): boolean;
|
|
58
|
-
export declare function compare(d1: IDateTimeOffset, d2: IDateTimeOffset): 0 | 1 | -1;
|
|
59
|
-
export declare const compareTo: typeof compare;
|
|
60
|
-
export declare function op_Addition(x: IDateTimeOffset, y: number): IDateTimeOffset;
|
|
61
|
-
export declare function op_Subtraction<Input extends number | IDateTimeOffset, Output = Input extends number ? IDateTimeOffset : number>(x: IDateTimeOffset, y: Input): Output;
|
|
62
|
-
export declare function toOffset(d: IDateTimeOffset, offset: number): IDateTimeOffset;
|
|
63
|
-
export declare function toUnixTimeMilliseconds(d: IDateTimeOffset): int64;
|
|
64
|
-
export declare function toUnixTimeSeconds(d: IDateTimeOffset): int64;
|
package/DateOnly.d.ts
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { FSharpRef } from "./Types.js";
|
|
2
|
-
import { IDateTime, DateKind } from "./Util.js";
|
|
3
|
-
export declare function fromUnixMilliseconds(value: number): IDateTime;
|
|
4
|
-
export declare function create(year: number, month: number, day: number): IDateTime;
|
|
5
|
-
export declare function maxValue(): IDateTime;
|
|
6
|
-
export declare function minValue(): IDateTime;
|
|
7
|
-
export declare function dayNumber(d: IDateTime): number;
|
|
8
|
-
export declare function fromDayNumber(dayNumber: number): IDateTime;
|
|
9
|
-
export declare function fromDateTime(d: IDateTime): IDateTime;
|
|
10
|
-
export declare function day(d: IDateTime): number;
|
|
11
|
-
export declare function month(d: IDateTime): number;
|
|
12
|
-
export declare function year(d: IDateTime): number;
|
|
13
|
-
export declare function dayOfWeek(d: IDateTime): number;
|
|
14
|
-
export declare function dayOfYear(d: IDateTime): number;
|
|
15
|
-
export declare function toDateTime(d: IDateTime, time: number, kind?: DateKind): IDateTime;
|
|
16
|
-
export declare function toString(d: IDateTime, format?: string, _provider?: any): string;
|
|
17
|
-
export declare function parse(str: string): IDateTime;
|
|
18
|
-
export declare function tryParse(v: string, defValue: FSharpRef<IDateTime>): boolean;
|
package/Decimal.d.ts
DELETED
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
import Decimal from "./lib/big.js";
|
|
2
|
-
import { FSharpRef } from "./Types.js";
|
|
3
|
-
import { int8, uint8, int16, uint16, int32, uint32, float16, float32, float64 } from "./Int32.js";
|
|
4
|
-
import { int64, uint64, int128, uint128, nativeint, unativeint } from "./BigInt.js";
|
|
5
|
-
export default Decimal;
|
|
6
|
-
export type decimal = Decimal;
|
|
7
|
-
export declare const get_Zero: Decimal;
|
|
8
|
-
export declare const get_One: Decimal;
|
|
9
|
-
export declare const get_MinusOne: Decimal;
|
|
10
|
-
export declare const get_MaxValue: Decimal;
|
|
11
|
-
export declare const get_MinValue: Decimal;
|
|
12
|
-
export declare function compare(x: Decimal, y: Decimal): import("./lib/big.js").Comparison;
|
|
13
|
-
export declare function equals(x: Decimal, y: Decimal): boolean;
|
|
14
|
-
export declare function abs(x: Decimal): Decimal;
|
|
15
|
-
export declare function sign(x: Decimal): number;
|
|
16
|
-
export declare function max(x: Decimal, y: Decimal): Decimal;
|
|
17
|
-
export declare function min(x: Decimal, y: Decimal): Decimal;
|
|
18
|
-
export declare function maxMagnitude(x: Decimal, y: Decimal): Decimal;
|
|
19
|
-
export declare function minMagnitude(x: Decimal, y: Decimal): Decimal;
|
|
20
|
-
export declare function clamp(x: Decimal, min: Decimal, max: Decimal): Decimal;
|
|
21
|
-
export declare function round(x: Decimal, digits?: number): Decimal;
|
|
22
|
-
export declare function truncate(x: Decimal): Decimal;
|
|
23
|
-
export declare function ceiling(x: Decimal): Decimal;
|
|
24
|
-
export declare function floor(x: Decimal): Decimal;
|
|
25
|
-
export declare function pow(x: Decimal, n: number): Decimal;
|
|
26
|
-
export declare function sqrt(x: Decimal): Decimal;
|
|
27
|
-
export declare function op_Addition(x: Decimal, y: Decimal): Decimal;
|
|
28
|
-
export declare function op_Subtraction(x: Decimal, y: Decimal): Decimal;
|
|
29
|
-
export declare function op_Multiply(x: Decimal, y: Decimal): Decimal;
|
|
30
|
-
export declare function op_Division(x: Decimal, y: Decimal): Decimal;
|
|
31
|
-
export declare function op_Modulus(x: Decimal, y: Decimal): Decimal;
|
|
32
|
-
export declare function op_UnaryNegation(x: Decimal): Decimal;
|
|
33
|
-
export declare function op_UnaryPlus(x: Decimal): Decimal;
|
|
34
|
-
export declare const add: typeof op_Addition;
|
|
35
|
-
export declare const subtract: typeof op_Subtraction;
|
|
36
|
-
export declare const multiply: typeof op_Multiply;
|
|
37
|
-
export declare const divide: typeof op_Division;
|
|
38
|
-
export declare const remainder: typeof op_Modulus;
|
|
39
|
-
export declare const negate: typeof op_UnaryNegation;
|
|
40
|
-
export declare function toString(x: Decimal): string;
|
|
41
|
-
export declare function tryParse(str: string, defValue: FSharpRef<Decimal>): boolean;
|
|
42
|
-
export declare function parse(str: string): Decimal;
|
|
43
|
-
export declare function toNumber(x: Decimal): number;
|
|
44
|
-
export declare function toChar(x: Decimal): string;
|
|
45
|
-
export declare function toInt8(x: Decimal): int8;
|
|
46
|
-
export declare function toUInt8(x: Decimal): uint8;
|
|
47
|
-
export declare function toInt16(x: Decimal): int16;
|
|
48
|
-
export declare function toUInt16(x: Decimal): uint16;
|
|
49
|
-
export declare function toInt32(x: Decimal): int32;
|
|
50
|
-
export declare function toUInt32(x: Decimal): uint32;
|
|
51
|
-
export declare function toInt64(x: Decimal): int64;
|
|
52
|
-
export declare function toUInt64(x: Decimal): uint64;
|
|
53
|
-
export declare function toInt128(x: Decimal): int128;
|
|
54
|
-
export declare function toUInt128(x: Decimal): uint128;
|
|
55
|
-
export declare function toNativeInt(x: Decimal): nativeint;
|
|
56
|
-
export declare function toUNativeInt(x: Decimal): unativeint;
|
|
57
|
-
export declare function toFloat16(x: Decimal): float16;
|
|
58
|
-
export declare function toFloat32(x: Decimal): float32;
|
|
59
|
-
export declare function toFloat64(x: Decimal): float64;
|
|
60
|
-
export declare function fromIntArray(bits: ArrayLike<number>): Decimal;
|
|
61
|
-
export declare function fromInts(low: number, mid: number, high: number, signExp: number): Decimal;
|
|
62
|
-
export declare function fromParts(low: number, mid: number, high: number, isNegative: boolean, scale: number): Decimal;
|
|
63
|
-
export declare function getBits(d: Decimal): number[];
|
package/Double.d.ts
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { FSharpRef } from "./Types.js";
|
|
2
|
-
export declare function tryParse(str: string, defValue: FSharpRef<number>): boolean;
|
|
3
|
-
export declare function parse(str: string): number;
|
|
4
|
-
export declare function isPositiveInfinity(x: number): boolean;
|
|
5
|
-
export declare function isNegativeInfinity(x: number): boolean;
|
|
6
|
-
export declare function isInfinity(x: number): boolean;
|
|
7
|
-
export declare function max(x: number, y: number): number;
|
|
8
|
-
export declare function min(x: number, y: number): number;
|
|
9
|
-
export declare function maxMagnitude(x: number, y: number): number;
|
|
10
|
-
export declare function minMagnitude(x: number, y: number): number;
|
|
11
|
-
export declare function clamp(x: number, min: number, max: number): number;
|
package/Encoding.d.ts
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { uint8 } from "./Int32.js";
|
|
2
|
-
declare class UTF16LE {
|
|
3
|
-
getBytes(str: string | string[], index?: number, count?: number): Uint8Array;
|
|
4
|
-
getString(bytes: ArrayLike<uint8>, index?: number, count?: number): string;
|
|
5
|
-
}
|
|
6
|
-
declare class UTF8 {
|
|
7
|
-
getBytes(str: string | string[], index?: number, count?: number): Uint8Array;
|
|
8
|
-
getString(bytes: ArrayLike<uint8>, index?: number, count?: number): string;
|
|
9
|
-
}
|
|
10
|
-
export declare function get_Unicode(): UTF16LE;
|
|
11
|
-
export declare function get_UTF8(): UTF8;
|
|
12
|
-
export {};
|
package/Event.d.ts
DELETED
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { IObservable } from "./Observable.js";
|
|
2
|
-
import { Option } from "./Option.js";
|
|
3
|
-
import { FSharpChoice$2_$union } from "./Choice.js";
|
|
4
|
-
export type Handler<T> = (sender: any, x: T) => void;
|
|
5
|
-
export interface IDelegateEvent<Delegate extends Function> {
|
|
6
|
-
AddHandler(d: Delegate): void;
|
|
7
|
-
RemoveHandler(d: Delegate): void;
|
|
8
|
-
}
|
|
9
|
-
export interface IEvent$2<Delegate extends Function, Args> extends IDelegateEvent<Delegate>, IObservable<Args> {
|
|
10
|
-
}
|
|
11
|
-
export type IEvent<T> = IEvent$2<Handler<T>, T>;
|
|
12
|
-
export declare class Event$2<Delegate extends Function, Args> {
|
|
13
|
-
private delegates;
|
|
14
|
-
private _add;
|
|
15
|
-
private _remove;
|
|
16
|
-
get Publish(): IEvent$2<Delegate, Args>;
|
|
17
|
-
Trigger(value: Args): void;
|
|
18
|
-
Trigger(sender: any, value: Args): void;
|
|
19
|
-
}
|
|
20
|
-
export declare class Event<T> extends Event$2<Handler<T>, T> {
|
|
21
|
-
}
|
|
22
|
-
export declare function add<Del extends Function, T>(callback: (x: T) => void, sourceEvent: IEvent$2<Del, T>): void;
|
|
23
|
-
export declare function choose<Del extends Function, T, U>(chooser: (x: T) => Option<U>, sourceEvent: IEvent$2<Del, T>): IEvent<U>;
|
|
24
|
-
export declare function filter<Del extends Function, T>(predicate: (x: T) => boolean, sourceEvent: IEvent$2<Del, T>): IEvent<T>;
|
|
25
|
-
export declare function map<Del extends Function, T, U>(mapping: (x: T) => U, sourceEvent: IEvent$2<Del, T>): IEvent<U>;
|
|
26
|
-
export declare function merge<Del1 extends Function, Del2 extends Function, T>(event1: IEvent$2<Del1, T>, event2: IEvent$2<Del2, T>): IEvent<T>;
|
|
27
|
-
export declare function pairwise<Del extends Function, T>(sourceEvent: IEvent$2<Del, T>): IEvent<[T, T]>;
|
|
28
|
-
export declare function partition<Del extends Function, T>(predicate: (x: T) => boolean, sourceEvent: IEvent$2<Del, T>): [IEvent<T>, IEvent<T>];
|
|
29
|
-
export declare function scan<Del extends Function, U, T>(collector: (u: U, t: T) => U, state: U, sourceEvent: IEvent$2<Del, T>): IEvent<U>;
|
|
30
|
-
export declare function split<Del extends Function, T, U1, U2>(splitter: (x: T) => FSharpChoice$2_$union<U1, U2>, sourceEvent: IEvent$2<Del, T>): [IEvent<U1>, IEvent<U2>];
|
|
31
|
-
export declare function createEvent<Del extends Function, T>(addHandler: (h: Del) => void, removeHandler: (h: Del) => void): IEvent$2<Del, T>;
|
package/FSharp.Collections.d.ts
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { int32 } from "./Int32.js";
|
|
2
|
-
import { IComparer, IEqualityComparer } from "./Util.js";
|
|
3
|
-
export declare function HashIdentity_FromFunctions<T>(hash: ((arg0: T) => int32), eq: ((arg0: T, arg1: T) => boolean)): IEqualityComparer<T>;
|
|
4
|
-
export declare function HashIdentity_Structural<T>(): IEqualityComparer<T>;
|
|
5
|
-
export declare function HashIdentity_Reference<T>(): IEqualityComparer<T>;
|
|
6
|
-
export declare function ComparisonIdentity_FromFunction<T>(comparer: ((arg0: T, arg1: T) => int32)): IComparer<T>;
|
|
7
|
-
export declare function ComparisonIdentity_Structural<T>(): IComparer<T>;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { TypeInfo } from "./Reflection.js";
|
|
2
|
-
import { FSharpList } from "./List.js";
|
|
3
|
-
export declare class ListCollector$1<T> {
|
|
4
|
-
readonly collector: T[];
|
|
5
|
-
constructor();
|
|
6
|
-
}
|
|
7
|
-
export declare function ListCollector$1_$reflection(gen0: TypeInfo): TypeInfo;
|
|
8
|
-
export declare function ListCollector$1_$ctor<T>(): ListCollector$1<T>;
|
|
9
|
-
export declare function ListCollector$1__Add_2B595<T>(this$: ListCollector$1<T>, value: T): void;
|
|
10
|
-
export declare function ListCollector$1__AddMany_BB573A<T>(this$: ListCollector$1<T>, values: Iterable<T>): void;
|
|
11
|
-
export declare function ListCollector$1__AddManyAndClose_BB573A<T>(this$: ListCollector$1<T>, values: Iterable<T>): FSharpList<T>;
|
|
12
|
-
export declare function ListCollector$1__Close<T>(this$: ListCollector$1<T>): FSharpList<T>;
|
package/FSharp.Core.d.ts
DELETED
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { IDisposable, IEqualityComparer, IComparer } from "./Util.js";
|
|
2
|
-
import { Nullable, Option } from "./Option.js";
|
|
3
|
-
import { FSharpChoice$2_$union } from "./Choice.js";
|
|
4
|
-
import { StringBuilder } from "./System.Text.js";
|
|
5
|
-
export declare const LanguagePrimitives_GenericEqualityComparer: any;
|
|
6
|
-
export declare const LanguagePrimitives_GenericEqualityERComparer: any;
|
|
7
|
-
export declare function LanguagePrimitives_FastGenericComparer<T>(): IComparer<T>;
|
|
8
|
-
export declare function LanguagePrimitives_FastGenericComparerFromTable<T>(): IComparer<T>;
|
|
9
|
-
export declare function LanguagePrimitives_FastGenericEqualityComparer<T>(): IEqualityComparer<T>;
|
|
10
|
-
export declare function LanguagePrimitives_FastGenericEqualityComparerFromTable<T>(): IEqualityComparer<T>;
|
|
11
|
-
export declare function Operators_Failure(message: string): Error;
|
|
12
|
-
export declare function Operators_FailurePattern(exn: Error): Option<string>;
|
|
13
|
-
export declare function Operators_NullArg<$a>(x: string): $a;
|
|
14
|
-
export declare function Operators_Using<T extends IDisposable, R>(resource: T, action: ((arg0: T) => R)): R;
|
|
15
|
-
export declare function Operators_Lock<$a, $b>(_lockObj: $a, action: (() => $b)): $b;
|
|
16
|
-
export declare function Operators_IsNull<T>(value: T): boolean;
|
|
17
|
-
export declare function Operators_IsNotNull<T>(value: T): boolean;
|
|
18
|
-
export declare function Operators_IsNullV<T extends any>(value: Nullable<T>): boolean;
|
|
19
|
-
export declare function Operators_NonNull<T>(value: T): T;
|
|
20
|
-
export declare function Operators_NonNullV<T extends any>(value: Nullable<T>): T;
|
|
21
|
-
export declare function Operators_NullMatchPattern<T>(value: T): FSharpChoice$2_$union<void, T>;
|
|
22
|
-
export declare function Operators_NullValueMatchPattern<T extends any>(value: Nullable<T>): FSharpChoice$2_$union<void, T>;
|
|
23
|
-
export declare function Operators_NonNullQuickPattern<T>(value: T): T;
|
|
24
|
-
export declare function Operators_NonNullQuickValuePattern<T extends any>(value: Nullable<T>): T;
|
|
25
|
-
export declare function Operators_WithNull<T>(value: T): T;
|
|
26
|
-
export declare function Operators_WithNullV<T extends any>(value: T): T;
|
|
27
|
-
export declare function Operators_NullV<T extends any>(): Nullable<T>;
|
|
28
|
-
export declare function Operators_NullArgCheck<T>(argumentName: string, value: T): T;
|
|
29
|
-
export declare function ExtraTopLevelOperators_LazyPattern<$a>(input: any): $a;
|
|
30
|
-
export declare function PrintfModule_PrintFormatToStringBuilderThen<$a, $b>(continuation: (() => $a), builder: StringBuilder, format: any): $b;
|
|
31
|
-
export declare function PrintfModule_PrintFormatToStringBuilder<$a>(builder: StringBuilder, format: any): $a;
|
package/Global.d.ts
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { int32 } from "./Int32.js";
|
|
2
|
-
export interface Fable_Core_IGenericAdder$1<T> {
|
|
3
|
-
Add(arg0: T, arg1: T): T;
|
|
4
|
-
GetZero(): T;
|
|
5
|
-
}
|
|
6
|
-
export interface Fable_Core_IGenericAverager$1<T> {
|
|
7
|
-
Add(arg0: T, arg1: T): T;
|
|
8
|
-
DivideByInt(arg0: T, arg1: int32): T;
|
|
9
|
-
GetZero(): T;
|
|
10
|
-
}
|
|
11
|
-
export interface Fable_Core_Symbol_wellknown {
|
|
12
|
-
[Symbol.toStringTag]: string;
|
|
13
|
-
}
|
|
14
|
-
export interface Fable_Core_IJsonSerializable {
|
|
15
|
-
toJSON(): any;
|
|
16
|
-
}
|
|
17
|
-
export declare const SR_indexOutOfBounds = "The index was outside the range of elements in the collection.";
|
|
18
|
-
export declare const SR_inputWasEmpty = "Collection was empty.";
|
|
19
|
-
export declare const SR_inputMustBeNonNegative = "The input must be non-negative.";
|
|
20
|
-
export declare const SR_inputSequenceEmpty = "The input sequence was empty.";
|
|
21
|
-
export declare const SR_inputSequenceTooLong = "The input sequence contains more than one element.";
|
|
22
|
-
export declare const SR_keyNotFoundAlt = "An index satisfying the predicate was not found in the collection.";
|
|
23
|
-
export declare const SR_differentLengths = "The collections had different lengths.";
|
|
24
|
-
export declare const SR_notEnoughElements = "The input sequence has an insufficient number of elements.";
|
package/Guid.d.ts
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { FSharpRef } from "./Types.js";
|
|
2
|
-
export declare function toString(str: string, format?: string, _provider?: any): string;
|
|
3
|
-
/** Validates UUID as specified in RFC4122 (versions 1-5). */
|
|
4
|
-
export declare function parse(str: string): string;
|
|
5
|
-
export declare function tryParse(str: string, defValue: FSharpRef<string>): boolean;
|
|
6
|
-
export declare function newGuid(): string;
|
|
7
|
-
/** Parse a UUID into it's component bytes */
|
|
8
|
-
export declare function guidToArray(s: string): number[];
|
|
9
|
-
/** Convert UUID byte array into a string */
|
|
10
|
-
export declare function arrayToGuid(buf: ArrayLike<number>): string;
|
package/Int32.d.ts
DELETED
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { FSharpRef } from "./Types.js";
|
|
2
|
-
export type int8 = number;
|
|
3
|
-
export type uint8 = number;
|
|
4
|
-
export type int16 = number;
|
|
5
|
-
export type uint16 = number;
|
|
6
|
-
export type int32 = number;
|
|
7
|
-
export type uint32 = number;
|
|
8
|
-
export type float16 = number;
|
|
9
|
-
export type float32 = number;
|
|
10
|
-
export type float64 = number;
|
|
11
|
-
export declare enum NumberStyles {
|
|
12
|
-
AllowHexSpecifier = 512
|
|
13
|
-
}
|
|
14
|
-
export declare function getPrefix(radix: number): string;
|
|
15
|
-
export declare function getRadix(prefix: string, style: number): 2 | 8 | 16 | 10;
|
|
16
|
-
export declare function isValid(str: string, style: number, radix?: number): {
|
|
17
|
-
sign: string;
|
|
18
|
-
prefix: string;
|
|
19
|
-
digits: string;
|
|
20
|
-
radix: number;
|
|
21
|
-
} | null;
|
|
22
|
-
export declare function parse(str: string, style: number, unsigned: boolean, bitsize: number, radix?: number): number;
|
|
23
|
-
export declare function tryParse(str: string, style: number, unsigned: boolean, bitsize: number, defValue: FSharpRef<number>): boolean;
|
|
24
|
-
export declare function op_UnaryNegation_Int8(x: number): number;
|
|
25
|
-
export declare function op_UnaryNegation_Int16(x: number): number;
|
|
26
|
-
export declare function op_UnaryNegation_Int32(x: number): number;
|
|
27
|
-
export declare function divRem(x: number, y: number): [number, number];
|
|
28
|
-
export declare function divRem(x: number, y: number, out: FSharpRef<number>): number;
|
package/List.d.ts
DELETED
|
@@ -1,143 +0,0 @@
|
|
|
1
|
-
import { Option } from "./Option.js";
|
|
2
|
-
import { IComparer, IEqualityComparer, IDisposable, IEnumerator } from "./Util.js";
|
|
3
|
-
import { int32 } from "./Int32.js";
|
|
4
|
-
import { Record } from "./Types.js";
|
|
5
|
-
import { TypeInfo } from "./Reflection.js";
|
|
6
|
-
export declare class FSharpList<T> extends Record implements Iterable<T> {
|
|
7
|
-
readonly head: T;
|
|
8
|
-
tail: Option<FSharpList<T>>;
|
|
9
|
-
constructor(head: T, tail: Option<FSharpList<T>>);
|
|
10
|
-
toString(): string;
|
|
11
|
-
Equals(other: any): boolean;
|
|
12
|
-
GetHashCode(): int32;
|
|
13
|
-
toJSON(): any;
|
|
14
|
-
CompareTo(other: any): int32;
|
|
15
|
-
GetEnumerator(): IEnumerator<T>;
|
|
16
|
-
[Symbol.iterator](): Iterator<T>;
|
|
17
|
-
"System.Collections.IEnumerable.GetEnumerator"(): IEnumerator<any>;
|
|
18
|
-
}
|
|
19
|
-
export declare function FSharpList_$reflection(gen0: TypeInfo): TypeInfo;
|
|
20
|
-
export declare class ListEnumerator$1<T> implements IEnumerator<T>, IDisposable {
|
|
21
|
-
readonly xs: FSharpList<T>;
|
|
22
|
-
it: FSharpList<T>;
|
|
23
|
-
current: T;
|
|
24
|
-
constructor(xs: FSharpList<T>);
|
|
25
|
-
"System.Collections.Generic.IEnumerator`1.get_Current"(): T;
|
|
26
|
-
"System.Collections.IEnumerator.get_Current"(): any;
|
|
27
|
-
"System.Collections.IEnumerator.MoveNext"(): boolean;
|
|
28
|
-
"System.Collections.IEnumerator.Reset"(): void;
|
|
29
|
-
Dispose(): void;
|
|
30
|
-
}
|
|
31
|
-
export declare function ListEnumerator$1_$reflection(gen0: TypeInfo): TypeInfo;
|
|
32
|
-
export declare function ListEnumerator$1_$ctor_3002E699<T>(xs: FSharpList<T>): ListEnumerator$1<T>;
|
|
33
|
-
export declare function FSharpList_get_Empty<T>(): FSharpList<T>;
|
|
34
|
-
export declare function FSharpList_Cons_305B8EAC<T>(x: T, xs: FSharpList<T>): FSharpList<T>;
|
|
35
|
-
export declare function FSharpList__get_IsEmpty<T>(xs: FSharpList<T>): boolean;
|
|
36
|
-
export declare function FSharpList__get_Length<T>(xs: FSharpList<T>): int32;
|
|
37
|
-
export declare function FSharpList__get_Head<T>(xs: FSharpList<T>): T;
|
|
38
|
-
export declare function FSharpList__get_Tail<T>(xs: FSharpList<T>): FSharpList<T>;
|
|
39
|
-
export declare function FSharpList__get_Item_Z524259A4<T>(xs: FSharpList<T>, index: int32): T;
|
|
40
|
-
export declare function indexNotFound<$a>(): $a;
|
|
41
|
-
export declare function empty<$a>(): FSharpList<$a>;
|
|
42
|
-
export declare function cons<T>(x: T, xs: FSharpList<T>): FSharpList<T>;
|
|
43
|
-
export declare function singleton<$a>(x: $a): FSharpList<$a>;
|
|
44
|
-
export declare function isEmpty<T>(xs: FSharpList<T>): boolean;
|
|
45
|
-
export declare function length<T>(xs: FSharpList<T>): int32;
|
|
46
|
-
export declare function head<T>(xs: FSharpList<T>): T;
|
|
47
|
-
export declare function tryHead<T>(xs: FSharpList<T>): Option<T>;
|
|
48
|
-
export declare function tail<T>(xs: FSharpList<T>): FSharpList<T>;
|
|
49
|
-
export declare function tryLast<T>(xs_mut: FSharpList<T>): Option<T>;
|
|
50
|
-
export declare function last<T>(xs: FSharpList<T>): T;
|
|
51
|
-
export declare function compareWith<T>(comparer: ((arg0: T, arg1: T) => int32), xs: FSharpList<T>, ys: FSharpList<T>): int32;
|
|
52
|
-
export declare function toArray<T>(xs: FSharpList<T>): T[];
|
|
53
|
-
export declare function fold<T, State>(folder: ((arg0: State, arg1: T) => State), state: State, xs: FSharpList<T>): State;
|
|
54
|
-
export declare function reverse<T>(xs: FSharpList<T>): FSharpList<T>;
|
|
55
|
-
export declare function foldBack<T, State>(folder: ((arg0: T, arg1: State) => State), xs: FSharpList<T>, state: State): State;
|
|
56
|
-
export declare function foldIndexed<State, T>(folder: ((arg0: int32, arg1: State, arg2: T) => State), state: State, xs: FSharpList<T>): State;
|
|
57
|
-
export declare function fold2<T1, T2, State>(folder: ((arg0: State, arg1: T1, arg2: T2) => State), state: State, xs: FSharpList<T1>, ys: FSharpList<T2>): State;
|
|
58
|
-
export declare function foldBack2<T1, T2, State>(folder: ((arg0: T1, arg1: T2, arg2: State) => State), xs: FSharpList<T1>, ys: FSharpList<T2>, state: State): State;
|
|
59
|
-
export declare function unfold<State, T>(generator: ((arg0: State) => Option<[T, State]>), state: State): FSharpList<T>;
|
|
60
|
-
export declare function iterate<$a>(action: ((arg0: $a) => void), xs: FSharpList<$a>): void;
|
|
61
|
-
export declare function iterate2<$a, $b>(action: ((arg0: $a, arg1: $b) => void), xs: FSharpList<$a>, ys: FSharpList<$b>): void;
|
|
62
|
-
export declare function iterateIndexed<$a>(action: ((arg0: int32, arg1: $a) => void), xs: FSharpList<$a>): void;
|
|
63
|
-
export declare function iterateIndexed2<$a, $b>(action: ((arg0: int32, arg1: $a, arg2: $b) => void), xs: FSharpList<$a>, ys: FSharpList<$b>): void;
|
|
64
|
-
export declare function toSeq<T>(xs: FSharpList<T>): Iterable<T>;
|
|
65
|
-
export declare function ofArrayWithTail<T>(xs: T[], tail_1: FSharpList<T>): FSharpList<T>;
|
|
66
|
-
export declare function ofArray<T>(xs: T[]): FSharpList<T>;
|
|
67
|
-
export declare function ofSeq<T>(xs: Iterable<T>): FSharpList<T>;
|
|
68
|
-
export declare function concat<T>(lists: Iterable<FSharpList<T>>): FSharpList<T>;
|
|
69
|
-
export declare function scan<State, T>(folder: ((arg0: State, arg1: T) => State), state: State, xs: FSharpList<T>): FSharpList<State>;
|
|
70
|
-
export declare function scanBack<T, State>(folder: ((arg0: T, arg1: State) => State), xs: FSharpList<T>, state: State): FSharpList<State>;
|
|
71
|
-
export declare function append<T>(xs: FSharpList<T>, ys: FSharpList<T>): FSharpList<T>;
|
|
72
|
-
export declare function collect<T, U>(mapping: ((arg0: T) => FSharpList<U>), xs: FSharpList<T>): FSharpList<U>;
|
|
73
|
-
export declare function mapIndexed<T, U>(mapping: ((arg0: int32, arg1: T) => U), xs: FSharpList<T>): FSharpList<U>;
|
|
74
|
-
export declare function map<T, U>(mapping: ((arg0: T) => U), xs: FSharpList<T>): FSharpList<U>;
|
|
75
|
-
export declare function indexed<$a>(xs: FSharpList<$a>): FSharpList<[int32, $a]>;
|
|
76
|
-
export declare function map2<T1, T2, U>(mapping: ((arg0: T1, arg1: T2) => U), xs: FSharpList<T1>, ys: FSharpList<T2>): FSharpList<U>;
|
|
77
|
-
export declare function mapIndexed2<T1, T2, U>(mapping: ((arg0: int32, arg1: T1, arg2: T2) => U), xs: FSharpList<T1>, ys: FSharpList<T2>): FSharpList<U>;
|
|
78
|
-
export declare function map3<T1, T2, T3, U>(mapping: ((arg0: T1, arg1: T2, arg2: T3) => U), xs: FSharpList<T1>, ys: FSharpList<T2>, zs: FSharpList<T3>): FSharpList<U>;
|
|
79
|
-
export declare function mapFold<State, T, Result>(mapping: ((arg0: State, arg1: T) => [Result, State]), state: State, xs: FSharpList<T>): [FSharpList<Result>, State];
|
|
80
|
-
export declare function mapFoldBack<T, State, Result>(mapping: ((arg0: T, arg1: State) => [Result, State]), xs: FSharpList<T>, state: State): [FSharpList<Result>, State];
|
|
81
|
-
export declare function tryPick<T, $a>(f: ((arg0: T) => Option<$a>), xs: FSharpList<T>): Option<$a>;
|
|
82
|
-
export declare function pick<$a, $b>(f: ((arg0: $a) => Option<$b>), xs: FSharpList<$a>): $b;
|
|
83
|
-
export declare function tryFind<$a>(f: ((arg0: $a) => boolean), xs: FSharpList<$a>): Option<$a>;
|
|
84
|
-
export declare function find<$a>(f: ((arg0: $a) => boolean), xs: FSharpList<$a>): $a;
|
|
85
|
-
export declare function tryFindBack<$a>(f: ((arg0: $a) => boolean), xs: FSharpList<$a>): Option<$a>;
|
|
86
|
-
export declare function findBack<$a>(f: ((arg0: $a) => boolean), xs: FSharpList<$a>): $a;
|
|
87
|
-
export declare function tryFindIndex<T>(f: ((arg0: T) => boolean), xs: FSharpList<T>): Option<int32>;
|
|
88
|
-
export declare function findIndex<$a>(f: ((arg0: $a) => boolean), xs: FSharpList<$a>): int32;
|
|
89
|
-
export declare function tryFindIndexBack<$a>(f: ((arg0: $a) => boolean), xs: FSharpList<$a>): Option<int32>;
|
|
90
|
-
export declare function findIndexBack<$a>(f: ((arg0: $a) => boolean), xs: FSharpList<$a>): int32;
|
|
91
|
-
export declare function tryItem<T>(n: int32, xs: FSharpList<T>): Option<T>;
|
|
92
|
-
export declare function item<T>(n: int32, xs: FSharpList<T>): T;
|
|
93
|
-
export declare function filter<T>(f: ((arg0: T) => boolean), xs: FSharpList<T>): FSharpList<T>;
|
|
94
|
-
export declare function partition<T>(f: ((arg0: T) => boolean), xs: FSharpList<T>): [FSharpList<T>, FSharpList<T>];
|
|
95
|
-
export declare function choose<T, U>(f: ((arg0: T) => Option<U>), xs: FSharpList<T>): FSharpList<U>;
|
|
96
|
-
export declare function contains<T>(value: T, xs: FSharpList<T>, eq: IEqualityComparer<T>): boolean;
|
|
97
|
-
export declare function initialize<T>(n: int32, f: ((arg0: int32) => T)): FSharpList<T>;
|
|
98
|
-
export declare function replicate<$a>(n: int32, x: $a): FSharpList<$a>;
|
|
99
|
-
export declare function reduce<T>(f: ((arg0: T, arg1: T) => T), xs: FSharpList<T>): T;
|
|
100
|
-
export declare function reduceBack<T>(f: ((arg0: T, arg1: T) => T), xs: FSharpList<T>): T;
|
|
101
|
-
export declare function forAll<$a>(f: ((arg0: $a) => boolean), xs: FSharpList<$a>): boolean;
|
|
102
|
-
export declare function forAll2<$a, $b>(f: ((arg0: $a, arg1: $b) => boolean), xs: FSharpList<$a>, ys: FSharpList<$b>): boolean;
|
|
103
|
-
export declare function exists<$a>(f: ((arg0: $a) => boolean), xs: FSharpList<$a>): boolean;
|
|
104
|
-
export declare function exists2<T1, T2>(f_mut: ((arg0: T1, arg1: T2) => boolean), xs_mut: FSharpList<T1>, ys_mut: FSharpList<T2>): boolean;
|
|
105
|
-
export declare function unzip<$a, $b>(xs: FSharpList<[$a, $b]>): [FSharpList<$a>, FSharpList<$b>];
|
|
106
|
-
export declare function unzip3<$a, $b, $c>(xs: FSharpList<[$a, $b, $c]>): [FSharpList<$a>, FSharpList<$b>, FSharpList<$c>];
|
|
107
|
-
export declare function zip<$a, $b>(xs: FSharpList<$a>, ys: FSharpList<$b>): FSharpList<[$a, $b]>;
|
|
108
|
-
export declare function zip3<$a, $b, $c>(xs: FSharpList<$a>, ys: FSharpList<$b>, zs: FSharpList<$c>): FSharpList<[$a, $b, $c]>;
|
|
109
|
-
export declare function sortWith<T>(comparer: ((arg0: T, arg1: T) => int32), xs: FSharpList<T>): FSharpList<T>;
|
|
110
|
-
export declare function sort<T>(xs: FSharpList<T>, comparer: IComparer<T>): FSharpList<T>;
|
|
111
|
-
export declare function sortBy<T, U>(projection: ((arg0: T) => U), xs: FSharpList<T>, comparer: IComparer<U>): FSharpList<T>;
|
|
112
|
-
export declare function sortDescending<T>(xs: FSharpList<T>, comparer: IComparer<T>): FSharpList<T>;
|
|
113
|
-
export declare function sortByDescending<T, U>(projection: ((arg0: T) => U), xs: FSharpList<T>, comparer: IComparer<U>): FSharpList<T>;
|
|
114
|
-
export declare function sum<T>(xs: FSharpList<T>, adder: any): T;
|
|
115
|
-
export declare function sumBy<T, U>(f: ((arg0: T) => U), xs: FSharpList<T>, adder: any): U;
|
|
116
|
-
export declare function maxBy<T, U>(projection: ((arg0: T) => U), xs: FSharpList<T>, comparer: IComparer<U>): T;
|
|
117
|
-
export declare function max<T>(xs: FSharpList<T>, comparer: IComparer<T>): T;
|
|
118
|
-
export declare function minBy<T, U>(projection: ((arg0: T) => U), xs: FSharpList<T>, comparer: IComparer<U>): T;
|
|
119
|
-
export declare function min<T>(xs: FSharpList<T>, comparer: IComparer<T>): T;
|
|
120
|
-
export declare function average<T>(xs: FSharpList<T>, averager: any): T;
|
|
121
|
-
export declare function averageBy<T, U>(f: ((arg0: T) => U), xs: FSharpList<T>, averager: any): U;
|
|
122
|
-
export declare function permute<T>(f: ((arg0: int32) => int32), xs: FSharpList<T>): FSharpList<T>;
|
|
123
|
-
export declare function chunkBySize<T>(chunkSize: int32, xs: FSharpList<T>): FSharpList<FSharpList<T>>;
|
|
124
|
-
export declare function allPairs<T1, T2>(xs: FSharpList<T1>, ys: FSharpList<T2>): FSharpList<[T1, T2]>;
|
|
125
|
-
export declare function skip<T>(count_mut: int32, xs_mut: FSharpList<T>): FSharpList<T>;
|
|
126
|
-
export declare function skipWhile<T>(predicate_mut: ((arg0: T) => boolean), xs_mut: FSharpList<T>): FSharpList<T>;
|
|
127
|
-
export declare function take<T>(count: int32, xs: FSharpList<T>): FSharpList<T>;
|
|
128
|
-
export declare function takeWhile<T>(predicate: ((arg0: T) => boolean), xs: FSharpList<T>): FSharpList<T>;
|
|
129
|
-
export declare function truncate<T>(count: int32, xs: FSharpList<T>): FSharpList<T>;
|
|
130
|
-
export declare function getSlice<T>(startIndex: Option<int32>, endIndex: Option<int32>, xs: FSharpList<T>): FSharpList<T>;
|
|
131
|
-
export declare function splitAt<T>(index: int32, xs: FSharpList<T>): [FSharpList<T>, FSharpList<T>];
|
|
132
|
-
export declare function exactlyOne<T>(xs: FSharpList<T>): T;
|
|
133
|
-
export declare function tryExactlyOne<T>(xs: FSharpList<T>): Option<T>;
|
|
134
|
-
export declare function where<T>(predicate: ((arg0: T) => boolean), xs: FSharpList<T>): FSharpList<T>;
|
|
135
|
-
export declare function pairwise<T>(xs: FSharpList<T>): FSharpList<[T, T]>;
|
|
136
|
-
export declare function windowed<T>(windowSize: int32, xs: FSharpList<T>): FSharpList<FSharpList<T>>;
|
|
137
|
-
export declare function splitInto<T>(chunks: int32, xs: FSharpList<T>): FSharpList<FSharpList<T>>;
|
|
138
|
-
export declare function transpose<T>(lists: Iterable<FSharpList<T>>): FSharpList<FSharpList<T>>;
|
|
139
|
-
export declare function insertAt<T>(index: int32, y: T, xs: FSharpList<T>): FSharpList<T>;
|
|
140
|
-
export declare function insertManyAt<T>(index: int32, ys: Iterable<T>, xs: FSharpList<T>): FSharpList<T>;
|
|
141
|
-
export declare function removeAt<T>(index: int32, xs: FSharpList<T>): FSharpList<T>;
|
|
142
|
-
export declare function removeManyAt<T>(index: int32, count: int32, xs: FSharpList<T>): FSharpList<T>;
|
|
143
|
-
export declare function updateAt<T>(index: int32, y: T, xs: FSharpList<T>): FSharpList<T>;
|
package/Long.d.ts
DELETED
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import { FSharpRef } from "./Types.js";
|
|
2
|
-
export declare function parse(str: string, style: number, unsigned: boolean, _bitsize: number, radix?: number): bigint;
|
|
3
|
-
export declare function tryParse(str: string, style: number, unsigned: boolean, bitsize: number, defValue: FSharpRef<bigint>): boolean;
|
package/MailboxProcessor.d.ts
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { Async } from "./AsyncBuilder.js";
|
|
2
|
-
import { Continuation } from "./AsyncBuilder.js";
|
|
3
|
-
import { CancellationToken } from "./AsyncBuilder.js";
|
|
4
|
-
declare class MailboxQueue<Msg> {
|
|
5
|
-
private firstAndLast?;
|
|
6
|
-
add(message: Msg): void;
|
|
7
|
-
tryGet(): Msg | undefined;
|
|
8
|
-
}
|
|
9
|
-
export type MailboxBody<Msg> = (m: MailboxProcessor<Msg>) => Async<void>;
|
|
10
|
-
export interface AsyncReplyChannel<Reply> {
|
|
11
|
-
reply: (r: Reply) => void;
|
|
12
|
-
}
|
|
13
|
-
export declare class MailboxProcessor<Msg> {
|
|
14
|
-
body: MailboxBody<Msg>;
|
|
15
|
-
cancellationToken: CancellationToken;
|
|
16
|
-
messages: MailboxQueue<Msg>;
|
|
17
|
-
continuation?: Continuation<Msg>;
|
|
18
|
-
constructor(body: MailboxBody<Msg>, cancellationToken?: CancellationToken);
|
|
19
|
-
}
|
|
20
|
-
export declare function startInstance<Msg>($this: MailboxProcessor<Msg>): void;
|
|
21
|
-
export declare function receive<Msg>($this: MailboxProcessor<Msg>): (ctx: import("./AsyncBuilder.js").IAsyncContext<Msg>) => void;
|
|
22
|
-
export declare function post<Msg>($this: MailboxProcessor<Msg>, message: Msg): void;
|
|
23
|
-
export declare function postAndAsyncReply<Reply, Msg>($this: MailboxProcessor<Msg>, buildMessage: (c: AsyncReplyChannel<Reply>) => Msg): (ctx: import("./AsyncBuilder.js").IAsyncContext<Reply>) => void;
|
|
24
|
-
export declare function start<Msg>(body: MailboxBody<Msg>, cancellationToken?: CancellationToken): MailboxProcessor<Msg>;
|
|
25
|
-
export default MailboxProcessor;
|