@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/Array.d.ts
DELETED
|
@@ -1,123 +0,0 @@
|
|
|
1
|
-
import { int32 } from "./Int32.js";
|
|
2
|
-
import { Option } from "./Option.js";
|
|
3
|
-
import { IComparer, IEqualityComparer } from "./Util.js";
|
|
4
|
-
import { FSharpRef } from "./Types.js";
|
|
5
|
-
export declare function append<T>(array1: T[], array2: T[], cons?: any): T[];
|
|
6
|
-
export declare function filter<T>(predicate: ((arg0: T) => boolean), array: T[]): T[];
|
|
7
|
-
export declare function fill<T>(target: T[], targetIndex: int32, count: int32, value: T): T[];
|
|
8
|
-
export declare function getSubArray<T>(array: T[], start: int32, count: int32): T[];
|
|
9
|
-
export declare function last<T>(array: T[]): T;
|
|
10
|
-
export declare function tryLast<T>(array: T[]): Option<T>;
|
|
11
|
-
export declare function mapIndexed<T, U>(f: ((arg0: int32, arg1: T) => U), source: T[], cons?: any): U[];
|
|
12
|
-
export declare function map<T, U>(f: ((arg0: T) => U), source: T[], cons?: any): U[];
|
|
13
|
-
export declare function mapIndexed2<T1, T2, U>(f: ((arg0: int32, arg1: T1, arg2: T2) => U), source1: T1[], source2: T2[], cons?: any): U[];
|
|
14
|
-
export declare function map2<T1, T2, U>(f: ((arg0: T1, arg1: T2) => U), source1: T1[], source2: T2[], cons?: any): U[];
|
|
15
|
-
export declare function mapIndexed3<T1, T2, T3, U>(f: ((arg0: int32, arg1: T1, arg2: T2, arg3: T3) => U), source1: T1[], source2: T2[], source3: T3[], cons?: any): U[];
|
|
16
|
-
export declare function map3<T1, T2, T3, U>(f: ((arg0: T1, arg1: T2, arg2: T3) => U), source1: T1[], source2: T2[], source3: T3[], cons?: any): U[];
|
|
17
|
-
export declare function mapFold<T, State, Result>(mapping: ((arg0: State, arg1: T) => [Result, State]), state: State, array: T[], cons?: any): [Result[], State];
|
|
18
|
-
export declare function mapFoldBack<T, State, Result>(mapping: ((arg0: T, arg1: State) => [Result, State]), array: T[], state: State, cons?: any): [Result[], State];
|
|
19
|
-
export declare function indexed<T>(source: T[]): [int32, T][];
|
|
20
|
-
export declare function truncate<T>(count: int32, array: T[]): T[];
|
|
21
|
-
export declare function concat<T>(arrays: Iterable<T[]>, cons?: any): T[];
|
|
22
|
-
export declare function collect<T, U>(mapping: ((arg0: T) => U[]), array: T[], cons?: any): U[];
|
|
23
|
-
export declare function where<$a>(predicate: ((arg0: $a) => boolean), array: $a[]): $a[];
|
|
24
|
-
export declare function indexOf<T>(array: T[], item_1: T, start: Option<int32>, count: Option<int32>, eq: IEqualityComparer<T>): int32;
|
|
25
|
-
export declare function contains<T>(value: T, array: T[], eq: IEqualityComparer<T>): boolean;
|
|
26
|
-
export declare function empty<$a>(cons: any): $a[];
|
|
27
|
-
export declare function singleton<T>(value: T, cons?: any): T[];
|
|
28
|
-
export declare function initialize<T>(count: int32, initializer: ((arg0: int32) => T), cons?: any): T[];
|
|
29
|
-
export declare function pairwise<T>(array: T[]): [T, T][];
|
|
30
|
-
export declare function replicate<T>(count: int32, initial: T, cons?: any): T[];
|
|
31
|
-
export declare function copy<T>(array: T[]): T[];
|
|
32
|
-
export declare function copyTo<T>(source: T[], sourceIndex: int32, target: T[], targetIndex: int32, count: int32): void;
|
|
33
|
-
export declare function reverse<T>(array: T[]): T[];
|
|
34
|
-
export declare function scan<T, State>(folder: ((arg0: State, arg1: T) => State), state: State, array: T[], cons?: any): State[];
|
|
35
|
-
export declare function scanBack<T, State>(folder: ((arg0: T, arg1: State) => State), array: T[], state: State, cons?: any): State[];
|
|
36
|
-
export declare function skip<T>(count: int32, array: T[], cons?: any): T[];
|
|
37
|
-
export declare function skipWhile<T>(predicate: ((arg0: T) => boolean), array: T[], cons?: any): T[];
|
|
38
|
-
export declare function take<T>(count: int32, array: T[], cons?: any): T[];
|
|
39
|
-
export declare function takeWhile<T>(predicate: ((arg0: T) => boolean), array: T[], cons?: any): T[];
|
|
40
|
-
export declare function addInPlace<T>(x: T, array: T[]): void;
|
|
41
|
-
export declare function addRangeInPlace<T>(range: Iterable<T>, array: T[]): void;
|
|
42
|
-
export declare function insertRangeInPlace<T>(index: int32, range: Iterable<T>, array: T[]): void;
|
|
43
|
-
export declare function removeInPlace<T>(item_1: T, array: T[], eq: IEqualityComparer<T>): boolean;
|
|
44
|
-
export declare function removeAllInPlace<T>(predicate: ((arg0: T) => boolean), array: T[]): int32;
|
|
45
|
-
export declare function partition<T>(f: ((arg0: T) => boolean), source: T[], cons?: any): [T[], T[]];
|
|
46
|
-
export declare function find<T>(predicate: ((arg0: T) => boolean), array: T[]): T;
|
|
47
|
-
export declare function tryFind<T>(predicate: ((arg0: T) => boolean), array: T[]): Option<T>;
|
|
48
|
-
export declare function findIndex<T>(predicate: ((arg0: T) => boolean), array: T[]): int32;
|
|
49
|
-
export declare function tryFindIndex<T>(predicate: ((arg0: T) => boolean), array: T[]): Option<int32>;
|
|
50
|
-
export declare function pick<$a, $b>(chooser: ((arg0: $a) => Option<$b>), array: $a[]): $b;
|
|
51
|
-
export declare function tryPick<$a, $b>(chooser: ((arg0: $a) => Option<$b>), array: $a[]): Option<$b>;
|
|
52
|
-
export declare function findBack<$a>(predicate: ((arg0: $a) => boolean), array: $a[]): $a;
|
|
53
|
-
export declare function tryFindBack<$a>(predicate: ((arg0: $a) => boolean), array: $a[]): Option<$a>;
|
|
54
|
-
export declare function findLastIndex<$a>(predicate: ((arg0: $a) => boolean), array: $a[]): int32;
|
|
55
|
-
export declare function findIndexBack<$a>(predicate: ((arg0: $a) => boolean), array: $a[]): int32;
|
|
56
|
-
export declare function tryFindIndexBack<$a>(predicate: ((arg0: $a) => boolean), array: $a[]): Option<int32>;
|
|
57
|
-
export declare function choose<T, U>(chooser: ((arg0: T) => Option<U>), array: T[], cons?: any): U[];
|
|
58
|
-
export declare function foldIndexed<T, State>(folder: ((arg0: int32, arg1: State, arg2: T) => State), state: State, array: T[]): State;
|
|
59
|
-
export declare function fold<T, State>(folder: ((arg0: State, arg1: T) => State), state: State, array: T[]): State;
|
|
60
|
-
export declare function iterate<T>(action: ((arg0: T) => void), array: T[]): void;
|
|
61
|
-
export declare function iterateIndexed<T>(action: ((arg0: int32, arg1: T) => void), array: T[]): void;
|
|
62
|
-
export declare function iterate2<T1, T2>(action: ((arg0: T1, arg1: T2) => void), array1: T1[], array2: T2[]): void;
|
|
63
|
-
export declare function iterateIndexed2<T1, T2>(action: ((arg0: int32, arg1: T1, arg2: T2) => void), array1: T1[], array2: T2[]): void;
|
|
64
|
-
export declare function isEmpty<T>(array: T[]): boolean;
|
|
65
|
-
export declare function forAll<T>(predicate: ((arg0: T) => boolean), array: T[]): boolean;
|
|
66
|
-
export declare function permute<T>(f: ((arg0: int32) => int32), array: T[]): T[];
|
|
67
|
-
export declare function setSlice<T>(target: T[], lower: Option<int32>, upper: Option<int32>, source: T[]): void;
|
|
68
|
-
export declare function sortInPlaceBy<a, b>(projection: ((arg0: a) => b), xs: a[], comparer: IComparer<b>): void;
|
|
69
|
-
export declare function sortInPlace<T>(xs: T[], comparer: IComparer<T>): void;
|
|
70
|
-
export declare function sort<T>(xs: T[], comparer: IComparer<T>): T[];
|
|
71
|
-
export declare function sortBy<a, b>(projection: ((arg0: a) => b), xs: a[], comparer: IComparer<b>): a[];
|
|
72
|
-
export declare function sortDescending<T>(xs: T[], comparer: IComparer<T>): T[];
|
|
73
|
-
export declare function sortByDescending<a, b>(projection: ((arg0: a) => b), xs: a[], comparer: IComparer<b>): a[];
|
|
74
|
-
export declare function sortWith<T>(comparer: ((arg0: T, arg1: T) => int32), xs: T[]): T[];
|
|
75
|
-
export declare function allPairs<T1, T2>(xs: T1[], ys: T2[]): [T1, T2][];
|
|
76
|
-
export declare function unfold<T, State>(generator: ((arg0: State) => Option<[T, State]>), state: State): T[];
|
|
77
|
-
export declare function unzip<$a, $b>(array: [$a, $b][]): [$a[], $b[]];
|
|
78
|
-
export declare function unzip3<$a, $b, $c>(array: [$a, $b, $c][]): [$a[], $b[], $c[]];
|
|
79
|
-
export declare function zip<T, U>(array1: T[], array2: U[]): [T, U][];
|
|
80
|
-
export declare function zip3<T, U, V>(array1: T[], array2: U[], array3: V[]): [T, U, V][];
|
|
81
|
-
export declare function chunkBySize<T>(chunkSize: int32, array: T[]): T[][];
|
|
82
|
-
export declare function splitAt<T>(index: int32, array: T[]): [T[], T[]];
|
|
83
|
-
export declare function compareWith<T>(comparer: ((arg0: T, arg1: T) => int32), source1: T[], source2: T[]): int32;
|
|
84
|
-
export declare function compareTo<T>(comparer: ((arg0: T, arg1: T) => int32), source1: T[], source2: T[]): int32;
|
|
85
|
-
export declare function equalsWith<T>(equals: ((arg0: T, arg1: T) => boolean), array1: T[], array2: T[]): boolean;
|
|
86
|
-
export declare function exactlyOne<T>(array: T[]): T;
|
|
87
|
-
export declare function tryExactlyOne<T>(array: T[]): Option<T>;
|
|
88
|
-
export declare function head<T>(array: T[]): T;
|
|
89
|
-
export declare function tryHead<T>(array: T[]): Option<T>;
|
|
90
|
-
export declare function tail<T>(array: T[]): T[];
|
|
91
|
-
export declare function item<T>(index: int32, array: T[]): T;
|
|
92
|
-
export declare function setItem<T>(array: T[], index: int32, value: T): void;
|
|
93
|
-
export declare function tryItem<T>(index: int32, array: T[]): Option<T>;
|
|
94
|
-
export declare function foldBackIndexed<T, State>(folder: ((arg0: int32, arg1: T, arg2: State) => State), array: T[], state: State): State;
|
|
95
|
-
export declare function foldBack<T, State>(folder: ((arg0: T, arg1: State) => State), array: T[], state: State): State;
|
|
96
|
-
export declare function foldIndexed2<$a, $b, $c>(folder: ((arg0: int32, arg1: $a, arg2: $b, arg3: $c) => $a), state: $a, array1: $b[], array2: $c[]): $a;
|
|
97
|
-
export declare function fold2<T1, T2, State>(folder: ((arg0: State, arg1: T1, arg2: T2) => State), state: State, array1: T1[], array2: T2[]): State;
|
|
98
|
-
export declare function foldBackIndexed2<T1, T2, State>(folder: ((arg0: int32, arg1: T1, arg2: T2, arg3: State) => State), array1: T1[], array2: T2[], state: State): State;
|
|
99
|
-
export declare function foldBack2<T1, T2, State>(f: ((arg0: T1, arg1: T2, arg2: State) => State), array1: T1[], array2: T2[], state: State): State;
|
|
100
|
-
export declare function reduce<T>(reduction: ((arg0: T, arg1: T) => T), array: T[]): T;
|
|
101
|
-
export declare function reduceBack<T>(reduction: ((arg0: T, arg1: T) => T), array: T[]): T;
|
|
102
|
-
export declare function forAll2<$a, $b>(predicate: ((arg0: $a, arg1: $b) => boolean), array1: $a[], array2: $b[]): boolean;
|
|
103
|
-
export declare function existsOffset<T>(predicate_mut: ((arg0: T) => boolean), array_mut: T[], index_mut: int32): boolean;
|
|
104
|
-
export declare function exists<$a>(predicate: ((arg0: $a) => boolean), array: $a[]): boolean;
|
|
105
|
-
export declare function existsOffset2<$a, $b>(predicate_mut: ((arg0: $a, arg1: $b) => boolean), array1_mut: $a[], array2_mut: $b[], index_mut: int32): boolean;
|
|
106
|
-
export declare function exists2<$a, $b>(predicate: ((arg0: $a, arg1: $b) => boolean), array1: $a[], array2: $b[]): boolean;
|
|
107
|
-
export declare function sum<T>(array: T[], adder: any): T;
|
|
108
|
-
export declare function sumBy<T, T2>(projection: ((arg0: T) => T2), array: T[], adder: any): T2;
|
|
109
|
-
export declare function maxBy<a, b>(projection: ((arg0: a) => b), xs: a[], comparer: IComparer<b>): a;
|
|
110
|
-
export declare function max<a>(xs: a[], comparer: IComparer<a>): a;
|
|
111
|
-
export declare function minBy<a, b>(projection: ((arg0: a) => b), xs: a[], comparer: IComparer<b>): a;
|
|
112
|
-
export declare function min<a>(xs: a[], comparer: IComparer<a>): a;
|
|
113
|
-
export declare function average<T>(array: T[], averager: any): T;
|
|
114
|
-
export declare function averageBy<T, T2>(projection: ((arg0: T) => T2), array: T[], averager: any): T2;
|
|
115
|
-
export declare function windowed<T>(windowSize: int32, source: T[]): T[][];
|
|
116
|
-
export declare function splitInto<T>(chunks: int32, array: T[]): T[][];
|
|
117
|
-
export declare function transpose<T>(arrays: Iterable<T[]>, cons?: any): T[][];
|
|
118
|
-
export declare function insertAt<T>(index: int32, y: T, xs: T[], cons?: any): T[];
|
|
119
|
-
export declare function insertManyAt<T>(index: int32, ys: Iterable<T>, xs: T[], cons?: any): T[];
|
|
120
|
-
export declare function removeAt<T>(index: int32, xs: T[]): T[];
|
|
121
|
-
export declare function removeManyAt<T>(index: int32, count: int32, xs: T[]): T[];
|
|
122
|
-
export declare function updateAt<T>(index: int32, y: T, xs: T[], cons?: any): T[];
|
|
123
|
-
export declare function resize<T>(xs: FSharpRef<T[]>, newSize: int32, zero?: Option<T>, cons?: any): void;
|
package/Async.d.ts
DELETED
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { Continuation, Continuations } from "./AsyncBuilder.js";
|
|
2
|
-
import { Async, IAsyncContext, CancellationToken } from "./AsyncBuilder.js";
|
|
3
|
-
import { FSharpChoice$2_$union } from "./Choice.js";
|
|
4
|
-
export declare function makeAsync<T>(body: Async<T>): Async<T>;
|
|
5
|
-
export declare function invoke<T>(computation: Async<T>, ctx: IAsyncContext<T>): void;
|
|
6
|
-
export declare function callThenInvoke<T, U>(ctx: IAsyncContext<T>, result1: U, part2: (x: U) => Async<T>): void;
|
|
7
|
-
export declare function bind<T, U>(ctx: IAsyncContext<T>, part1: Async<U>, part2: (x: U) => Async<T>): void;
|
|
8
|
-
export declare function createCancellationToken(arg?: boolean | number): CancellationToken;
|
|
9
|
-
export declare function cancel(token: CancellationToken): void;
|
|
10
|
-
export declare function cancelAfter(token: CancellationToken, ms: number): void;
|
|
11
|
-
export declare function isCancellationRequested(token: CancellationToken): boolean;
|
|
12
|
-
export declare function throwIfCancellationRequested(token: CancellationToken): void;
|
|
13
|
-
export declare function startChild<T>(computation: Async<T>, ms?: number): Async<Async<T>>;
|
|
14
|
-
export declare function awaitPromise<T>(p: Promise<T>): (ctx: IAsyncContext<T>) => void;
|
|
15
|
-
export declare function cancellationToken(): (ctx: IAsyncContext<CancellationToken>) => void;
|
|
16
|
-
export declare const defaultCancellationToken: CancellationToken;
|
|
17
|
-
export declare function catchAsync<T>(work: Async<T>): (ctx: IAsyncContext<FSharpChoice$2_$union<T, Error>>) => void;
|
|
18
|
-
export declare function fromContinuations<T>(f: (conts: Continuations<T>) => void): (ctx: IAsyncContext<T>) => void;
|
|
19
|
-
export declare function ignore<T>(computation: Async<T>): (ctx: IAsyncContext<undefined>) => void;
|
|
20
|
-
export declare function parallel<T>(computations: Iterable<Async<T>>): (ctx: IAsyncContext<Awaited<T>[]>) => void;
|
|
21
|
-
export declare function sequential<T>(computations: Iterable<Async<T>>): (ctx: IAsyncContext<T[]>) => void;
|
|
22
|
-
export declare function sleep(millisecondsDueTime: number): (ctx: IAsyncContext<void>) => void;
|
|
23
|
-
export declare function start<T>(computation: Async<T>, cancellationToken?: CancellationToken): void;
|
|
24
|
-
export declare function startImmediate<T>(computation: Async<T>, cancellationToken?: CancellationToken): void;
|
|
25
|
-
export declare function startWithContinuations<T>(computation: Async<T>, continuation: Continuation<T>, exceptionContinuation: Continuation<any>, cancellationContinuation: Continuation<any>, cancelToken?: CancellationToken): void;
|
|
26
|
-
export declare function startAsPromise<T>(computation: Async<T>, cancellationToken?: CancellationToken): Promise<T>;
|
package/AsyncBuilder.d.ts
DELETED
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
import { IDisposable } from "./Util.js";
|
|
2
|
-
export interface AsyncReplyChannel<Reply> {
|
|
3
|
-
reply(value: Reply): void;
|
|
4
|
-
}
|
|
5
|
-
export type Continuation<T> = (x: T) => void;
|
|
6
|
-
export type Continuations<T> = [
|
|
7
|
-
Continuation<T>,
|
|
8
|
-
Continuation<Error>,
|
|
9
|
-
Continuation<OperationCanceledError>
|
|
10
|
-
];
|
|
11
|
-
export declare class CancellationToken implements IDisposable {
|
|
12
|
-
private _id;
|
|
13
|
-
private _cancelled;
|
|
14
|
-
private _listeners;
|
|
15
|
-
constructor(cancelled?: boolean);
|
|
16
|
-
get isCancelled(): boolean;
|
|
17
|
-
cancel(): void;
|
|
18
|
-
addListener(f: () => void): number;
|
|
19
|
-
removeListener(id: number): boolean;
|
|
20
|
-
register(f: (state?: any) => void, state?: any): {
|
|
21
|
-
Dispose(): void;
|
|
22
|
-
};
|
|
23
|
-
Dispose(): void;
|
|
24
|
-
}
|
|
25
|
-
export declare class OperationCanceledError extends Error {
|
|
26
|
-
constructor();
|
|
27
|
-
}
|
|
28
|
-
export declare class Trampoline {
|
|
29
|
-
static get maxTrampolineCallCount(): number;
|
|
30
|
-
private callCount;
|
|
31
|
-
constructor();
|
|
32
|
-
incrementAndCheck(): boolean;
|
|
33
|
-
hijack(f: () => void): void;
|
|
34
|
-
}
|
|
35
|
-
export interface IAsyncContext<T> {
|
|
36
|
-
onSuccess: Continuation<T>;
|
|
37
|
-
onError: Continuation<Error>;
|
|
38
|
-
onCancel: Continuation<OperationCanceledError>;
|
|
39
|
-
cancelToken: CancellationToken;
|
|
40
|
-
trampoline: Trampoline;
|
|
41
|
-
}
|
|
42
|
-
export type Async<T> = (x: IAsyncContext<T>) => void;
|
|
43
|
-
export declare function protectedCont<T>(f: Async<T>): (ctx: IAsyncContext<T>) => void;
|
|
44
|
-
export declare function protectedBind<T, U>(computation: Async<T>, binder: (x: T) => Async<U>): (ctx: IAsyncContext<U>) => void;
|
|
45
|
-
export declare function protectedReturn<T>(value: T): (ctx: IAsyncContext<T>) => void;
|
|
46
|
-
export declare class AsyncBuilder {
|
|
47
|
-
Bind<T, U>(computation: Async<T>, binder: (x: T) => Async<U>): (ctx: IAsyncContext<U>) => void;
|
|
48
|
-
Combine<T>(computation1: Async<void>, computation2: Async<T>): (ctx: IAsyncContext<T>) => void;
|
|
49
|
-
Delay<T>(generator: () => Async<T>): (ctx: IAsyncContext<T>) => void;
|
|
50
|
-
For<T>(sequence: Iterable<T>, body: (x: T) => Async<void>): Async<void>;
|
|
51
|
-
Return<T>(value: T): (ctx: IAsyncContext<T>) => void;
|
|
52
|
-
ReturnFrom<T>(computation: Async<T>): Async<T>;
|
|
53
|
-
TryFinally<T>(computation: Async<T>, compensation: () => void): (ctx: IAsyncContext<T>) => void;
|
|
54
|
-
TryWith<T>(computation: Async<T>, catchHandler: (e: any) => Async<T>): (ctx: IAsyncContext<T>) => void;
|
|
55
|
-
Using<T extends IDisposable, U>(resource: T, binder: (x: T) => Async<U>): (ctx: IAsyncContext<U>) => void;
|
|
56
|
-
While(guard: () => boolean, computation: Async<void>): Async<void>;
|
|
57
|
-
Zero(): (ctx: IAsyncContext<void>) => void;
|
|
58
|
-
}
|
|
59
|
-
export declare const singleton: AsyncBuilder;
|
package/BigInt.d.ts
DELETED
|
@@ -1,129 +0,0 @@
|
|
|
1
|
-
import { FSharpRef } from "./Types.js";
|
|
2
|
-
import { int8, uint8, int16, uint16, int32, uint32, float16, float32, float64 } from "./Int32.js";
|
|
3
|
-
import { decimal } from "./Decimal.js";
|
|
4
|
-
export type int64 = bigint;
|
|
5
|
-
export type uint64 = bigint;
|
|
6
|
-
export type int128 = bigint;
|
|
7
|
-
export type uint128 = bigint;
|
|
8
|
-
export type nativeint = bigint;
|
|
9
|
-
export type unativeint = bigint;
|
|
10
|
-
export declare function isBigInt(x: any): boolean;
|
|
11
|
-
export declare function hash(x: bigint): int32;
|
|
12
|
-
export declare function equals(x: bigint, y: bigint): boolean;
|
|
13
|
-
export declare function compare(x: bigint, y: bigint): int32;
|
|
14
|
-
export declare function abs(x: bigint): bigint;
|
|
15
|
-
export declare function sign(x: bigint): int32;
|
|
16
|
-
export declare function max(x: bigint, y: bigint): bigint;
|
|
17
|
-
export declare function min(x: bigint, y: bigint): bigint;
|
|
18
|
-
export declare function maxMagnitude(x: bigint, y: bigint): bigint;
|
|
19
|
-
export declare function minMagnitude(x: bigint, y: bigint): bigint;
|
|
20
|
-
export declare function clamp(x: bigint, min: bigint, max: bigint): bigint;
|
|
21
|
-
export declare function add(x: bigint, y: bigint): bigint;
|
|
22
|
-
export declare function subtract(x: bigint, y: bigint): bigint;
|
|
23
|
-
export declare function multiply(x: bigint, y: bigint): bigint;
|
|
24
|
-
export declare function divide(x: bigint, y: bigint): bigint;
|
|
25
|
-
export declare function remainder(x: bigint, y: bigint): bigint;
|
|
26
|
-
export declare function negate(x: bigint): bigint;
|
|
27
|
-
export declare function op_UnaryNegation(x: bigint): bigint;
|
|
28
|
-
export declare function op_LogicalNot(x: bigint): bigint;
|
|
29
|
-
export declare function op_UnaryPlus(x: bigint): bigint;
|
|
30
|
-
export declare function op_Addition(x: bigint, y: bigint): bigint;
|
|
31
|
-
export declare function op_Subtraction(x: bigint, y: bigint): bigint;
|
|
32
|
-
export declare function op_Multiply(x: bigint, y: bigint): bigint;
|
|
33
|
-
export declare function op_Division(x: bigint, y: bigint): bigint;
|
|
34
|
-
export declare function op_Modulus(x: bigint, y: bigint): bigint;
|
|
35
|
-
export declare function op_RightShift(x: bigint, n: int32): bigint;
|
|
36
|
-
export declare function op_LeftShift(x: bigint, n: int32): bigint;
|
|
37
|
-
export declare function op_BitwiseAnd(x: bigint, y: bigint): bigint;
|
|
38
|
-
export declare function op_BitwiseOr(x: bigint, y: bigint): bigint;
|
|
39
|
-
export declare function op_ExclusiveOr(x: bigint, y: bigint): bigint;
|
|
40
|
-
export declare function op_LessThan(x: bigint, y: bigint): boolean;
|
|
41
|
-
export declare function op_LessThanOrEqual(x: bigint, y: bigint): boolean;
|
|
42
|
-
export declare function op_GreaterThan(x: bigint, y: bigint): boolean;
|
|
43
|
-
export declare function op_GreaterThanOrEqual(x: bigint, y: bigint): boolean;
|
|
44
|
-
export declare function op_Equality(x: bigint, y: bigint): boolean;
|
|
45
|
-
export declare function op_Inequality(x: bigint, y: bigint): boolean;
|
|
46
|
-
export declare function get_Zero(): bigint;
|
|
47
|
-
export declare function get_One(): bigint;
|
|
48
|
-
export declare function get_MinusOne(): bigint;
|
|
49
|
-
export declare function get_IsZero(x: bigint): boolean;
|
|
50
|
-
export declare function get_IsOne(x: bigint): boolean;
|
|
51
|
-
export declare function get_IsEven(x: bigint): boolean;
|
|
52
|
-
export declare function get_IsPowerOfTwo(x: bigint): boolean;
|
|
53
|
-
export declare function get_Sign(x: bigint): int32;
|
|
54
|
-
export declare function isNegative(x: bigint): boolean;
|
|
55
|
-
export declare function isPositive(x: bigint): boolean;
|
|
56
|
-
export declare function isEvenInteger(x: bigint): boolean;
|
|
57
|
-
export declare function isOddInteger(x: bigint): boolean;
|
|
58
|
-
export declare function isPow2(x: bigint): boolean;
|
|
59
|
-
export declare function fromZero(): bigint;
|
|
60
|
-
export declare function fromOne(): bigint;
|
|
61
|
-
export declare function fromInt8(n: int8): bigint;
|
|
62
|
-
export declare function fromUInt8(n: uint8): bigint;
|
|
63
|
-
export declare function fromInt16(n: int16): bigint;
|
|
64
|
-
export declare function fromUInt16(n: uint16): bigint;
|
|
65
|
-
export declare function fromInt32(n: int32): bigint;
|
|
66
|
-
export declare function fromUInt32(n: uint32): bigint;
|
|
67
|
-
export declare function fromInt64(n: int64): bigint;
|
|
68
|
-
export declare function fromUInt64(n: uint64): bigint;
|
|
69
|
-
export declare function fromInt128(n: int128): bigint;
|
|
70
|
-
export declare function fromUInt128(n: uint128): bigint;
|
|
71
|
-
export declare function fromNativeInt(n: nativeint): bigint;
|
|
72
|
-
export declare function fromUNativeInt(n: unativeint): bigint;
|
|
73
|
-
export declare function fromFloat16(n: float16): bigint;
|
|
74
|
-
export declare function fromFloat32(n: float32): bigint;
|
|
75
|
-
export declare function fromFloat64(n: float64): bigint;
|
|
76
|
-
export declare function fromDecimal(d: decimal): bigint;
|
|
77
|
-
export declare function fromBigInt(x: bigint): bigint;
|
|
78
|
-
export declare function fromBoolean(b: boolean): bigint;
|
|
79
|
-
export declare function fromChar(c: string): bigint;
|
|
80
|
-
export declare function fromString(s: string): bigint;
|
|
81
|
-
export declare function fromByteArray(bytes: ArrayLike<uint8>): bigint;
|
|
82
|
-
export declare function toByteArray(value: bigint): number[];
|
|
83
|
-
export declare function toIntN_unchecked(bits: number, x: bigint, signed: boolean): bigint;
|
|
84
|
-
export declare function toIntN(bits: number, x: bigint, signed: boolean): bigint;
|
|
85
|
-
export declare function toInt8(x: bigint): int8;
|
|
86
|
-
export declare function toUInt8(x: bigint): uint8;
|
|
87
|
-
export declare function toInt16(x: bigint): int16;
|
|
88
|
-
export declare function toUInt16(x: bigint): uint16;
|
|
89
|
-
export declare function toInt32(x: bigint): int32;
|
|
90
|
-
export declare function toUInt32(x: bigint): uint32;
|
|
91
|
-
export declare function toInt64(x: bigint): int64;
|
|
92
|
-
export declare function toUInt64(x: bigint): uint64;
|
|
93
|
-
export declare function toInt128(x: bigint): int128;
|
|
94
|
-
export declare function toUInt128(x: bigint): uint128;
|
|
95
|
-
export declare function toNativeInt(x: bigint): nativeint;
|
|
96
|
-
export declare function toUNativeInt(x: bigint): unativeint;
|
|
97
|
-
export declare function toInt8_unchecked(x: bigint): int8;
|
|
98
|
-
export declare function toUInt8_unchecked(x: bigint): uint8;
|
|
99
|
-
export declare function toInt16_unchecked(x: bigint): int16;
|
|
100
|
-
export declare function toUInt16_unchecked(x: bigint): uint16;
|
|
101
|
-
export declare function toInt32_unchecked(x: bigint): int32;
|
|
102
|
-
export declare function toUInt32_unchecked(x: bigint): uint32;
|
|
103
|
-
export declare function toInt64_unchecked(x: bigint): int64;
|
|
104
|
-
export declare function toUInt64_unchecked(x: bigint): uint64;
|
|
105
|
-
export declare function toInt128_unchecked(x: bigint): int128;
|
|
106
|
-
export declare function toUInt128_unchecked(x: bigint): uint128;
|
|
107
|
-
export declare function toNativeInt_unchecked(x: bigint): nativeint;
|
|
108
|
-
export declare function toUNativeInt_unchecked(x: bigint): unativeint;
|
|
109
|
-
export declare function toFloat16(x: bigint): float16;
|
|
110
|
-
export declare function toFloat32(x: bigint): float32;
|
|
111
|
-
export declare function toFloat64(x: bigint): float64;
|
|
112
|
-
export declare function toDecimal(x: bigint): decimal;
|
|
113
|
-
export declare function toBigInt(x: bigint): bigint;
|
|
114
|
-
export declare function toBoolean(x: bigint): boolean;
|
|
115
|
-
export declare function toChar(x: bigint): string;
|
|
116
|
-
export declare function toString(x: bigint): string;
|
|
117
|
-
export declare function tryParse(s: string, res: FSharpRef<bigint>): boolean;
|
|
118
|
-
export declare function parse(s: string): bigint;
|
|
119
|
-
export declare function pow(x: bigint, n: int32): bigint;
|
|
120
|
-
export declare function modPow(x: bigint, e: bigint, m: bigint): bigint;
|
|
121
|
-
export declare function divRem(x: bigint, y: bigint): [bigint, bigint];
|
|
122
|
-
export declare function divRem(x: bigint, y: bigint, out: FSharpRef<bigint>): bigint;
|
|
123
|
-
export declare function greatestCommonDivisor(x: bigint, y: bigint): bigint;
|
|
124
|
-
export declare function getBitLength(x: bigint): int64;
|
|
125
|
-
export declare function log2(x: bigint): float64;
|
|
126
|
-
export declare function log10(x: bigint): float64;
|
|
127
|
-
export declare function ln(x: bigint): float64;
|
|
128
|
-
export declare function log(x: bigint, base: float64): float64;
|
|
129
|
-
export declare function ilog2(x: bigint): bigint;
|
package/BitConverter.d.ts
DELETED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { uint8, int16, uint16, int32, uint32, float32, float64 } from "./Int32.js";
|
|
2
|
-
import { int64, uint64 } from "./BigInt.js";
|
|
3
|
-
import { char } from "./Char.js";
|
|
4
|
-
export declare function isLittleEndian(): boolean;
|
|
5
|
-
export declare function getBytesBoolean(value: boolean): Uint8Array;
|
|
6
|
-
export declare function getBytesChar(value: char): Uint8Array;
|
|
7
|
-
export declare function getBytesInt16(value: int16): Uint8Array;
|
|
8
|
-
export declare function getBytesInt32(value: int32): Uint8Array;
|
|
9
|
-
export declare function getBytesInt64(value: int64): Uint8Array;
|
|
10
|
-
export declare function getBytesUInt16(value: uint16): Uint8Array;
|
|
11
|
-
export declare function getBytesUInt32(value: uint32): Uint8Array;
|
|
12
|
-
export declare function getBytesUInt64(value: uint64): Uint8Array;
|
|
13
|
-
export declare function getBytesSingle(value: float32): Uint8Array;
|
|
14
|
-
export declare function getBytesDouble(value: float64): Uint8Array;
|
|
15
|
-
export declare function int64BitsToDouble(value: int64): float64;
|
|
16
|
-
export declare function doubleToInt64Bits(value: float64): int64;
|
|
17
|
-
export declare function toBoolean(bytes: ArrayLike<uint8>, offset: int32): boolean;
|
|
18
|
-
export declare function toChar(bytes: ArrayLike<uint8>, offset: int32): char;
|
|
19
|
-
export declare function toInt16(bytes: ArrayLike<uint8>, offset: int32): int16;
|
|
20
|
-
export declare function toInt32(bytes: ArrayLike<uint8>, offset: int32): int32;
|
|
21
|
-
export declare function toInt64(bytes: ArrayLike<uint8>, offset: int32): int64;
|
|
22
|
-
export declare function toUInt16(bytes: ArrayLike<uint8>, offset: int32): uint16;
|
|
23
|
-
export declare function toUInt32(bytes: ArrayLike<uint8>, offset: int32): uint32;
|
|
24
|
-
export declare function toUInt64(bytes: ArrayLike<uint8>, offset: int32): uint64;
|
|
25
|
-
export declare function toSingle(bytes: ArrayLike<uint8>, offset: int32): float32;
|
|
26
|
-
export declare function toDouble(bytes: ArrayLike<uint8>, offset: int32): float64;
|
|
27
|
-
export declare function toString(bytes: ArrayLike<uint8>, offset?: int32, count?: int32): string;
|
package/Boolean.d.ts
DELETED
package/Char.d.ts
DELETED
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
export type char = string;
|
|
2
|
-
export declare const enum UnicodeCategory {
|
|
3
|
-
UppercaseLetter = 0,
|
|
4
|
-
LowercaseLetter = 1,
|
|
5
|
-
TitlecaseLetter = 2,
|
|
6
|
-
ModifierLetter = 3,
|
|
7
|
-
OtherLetter = 4,
|
|
8
|
-
NonSpacingMark = 5,
|
|
9
|
-
SpacingCombiningMark = 6,
|
|
10
|
-
EnclosingMark = 7,
|
|
11
|
-
DecimalDigitNumber = 8,
|
|
12
|
-
LetterNumber = 9,
|
|
13
|
-
OtherNumber = 10,
|
|
14
|
-
SpaceSeparator = 11,
|
|
15
|
-
LineSeparator = 12,
|
|
16
|
-
ParagraphSeparator = 13,
|
|
17
|
-
Control = 14,
|
|
18
|
-
Format = 15,
|
|
19
|
-
Surrogate = 16,
|
|
20
|
-
PrivateUse = 17,
|
|
21
|
-
ConnectorPunctuation = 18,
|
|
22
|
-
DashPunctuation = 19,
|
|
23
|
-
OpenPunctuation = 20,
|
|
24
|
-
ClosePunctuation = 21,
|
|
25
|
-
InitialQuotePunctuation = 22,
|
|
26
|
-
FinalQuotePunctuation = 23,
|
|
27
|
-
OtherPunctuation = 24,
|
|
28
|
-
MathSymbol = 25,
|
|
29
|
-
CurrencySymbol = 26,
|
|
30
|
-
ModifierSymbol = 27,
|
|
31
|
-
OtherSymbol = 28,
|
|
32
|
-
OtherNotAssigned = 29
|
|
33
|
-
}
|
|
34
|
-
export declare const getUnicodeCategory: (s: string) => number;
|
|
35
|
-
export declare const isControl: (s: string) => boolean;
|
|
36
|
-
export declare const isDigit: (s: string) => boolean;
|
|
37
|
-
export declare const isLetter: (s: string) => boolean;
|
|
38
|
-
export declare const isLetterOrDigit: (s: string) => boolean;
|
|
39
|
-
export declare const isUpper: (s: string) => boolean;
|
|
40
|
-
export declare const isLower: (s: string) => boolean;
|
|
41
|
-
export declare const isNumber: (s: string) => boolean;
|
|
42
|
-
export declare const isPunctuation: (s: string) => boolean;
|
|
43
|
-
export declare const isSeparator: (s: string) => boolean;
|
|
44
|
-
export declare const isSymbol: (s: string) => boolean;
|
|
45
|
-
export declare const isWhiteSpace: (s: string) => boolean;
|
|
46
|
-
export declare const isHighSurrogate: (s: string) => boolean;
|
|
47
|
-
export declare const isLowSurrogate: (s: string) => boolean;
|
|
48
|
-
export declare const isSurrogate: (s: string) => boolean;
|
|
49
|
-
export declare function getUnicodeCategory2(s: string, index: number): number;
|
|
50
|
-
export declare function isControl2(s: string, index: number): boolean;
|
|
51
|
-
export declare function isDigit2(s: string, index: number): boolean;
|
|
52
|
-
export declare function isLetter2(s: string, index: number): boolean;
|
|
53
|
-
export declare function isLetterOrDigit2(s: string, index: number): boolean;
|
|
54
|
-
export declare function isUpper2(s: string, index: number): boolean;
|
|
55
|
-
export declare function isLower2(s: string, index: number): boolean;
|
|
56
|
-
export declare function isNumber2(s: string, index: number): boolean;
|
|
57
|
-
export declare function isPunctuation2(s: string, index: number): boolean;
|
|
58
|
-
export declare function isSeparator2(s: string, index: number): boolean;
|
|
59
|
-
export declare function isSymbol2(s: string, index: number): boolean;
|
|
60
|
-
export declare function isWhiteSpace2(s: string, index: number): boolean;
|
|
61
|
-
export declare function isHighSurrogate2(s: string, index: number): boolean;
|
|
62
|
-
export declare function isLowSurrogate2(s: string, index: number): boolean;
|
|
63
|
-
export declare function isSurrogate2(s: string, index: number): boolean;
|
|
64
|
-
export declare function isSurrogatePair(s: string, index: string | number): boolean;
|
|
65
|
-
export declare function parse(input: string): string;
|
package/Choice.d.ts
DELETED
|
@@ -1,121 +0,0 @@
|
|
|
1
|
-
import { Union } from "./Types.js";
|
|
2
|
-
import { TypeInfo } from "./Reflection.js";
|
|
3
|
-
import { Option } from "./Option.js";
|
|
4
|
-
export type FSharpChoice$2_$union<T1, T2> = FSharpChoice$2<T1, T2, 0> | FSharpChoice$2<T1, T2, 1>;
|
|
5
|
-
export type FSharpChoice$2_$cases<T1, T2> = {
|
|
6
|
-
0: ["Choice1Of2", [T1]];
|
|
7
|
-
1: ["Choice2Of2", [T2]];
|
|
8
|
-
};
|
|
9
|
-
export declare function FSharpChoice$2_Choice1Of2<T1, T2>(Item: T1): FSharpChoice$2<T1, T2, 0>;
|
|
10
|
-
export declare function FSharpChoice$2_Choice2Of2<T1, T2>(Item: T2): FSharpChoice$2<T1, T2, 1>;
|
|
11
|
-
export declare class FSharpChoice$2<T1, T2, Tag extends keyof FSharpChoice$2_$cases<T1, T2>> extends Union<Tag, FSharpChoice$2_$cases<T1, T2>[Tag][0]> {
|
|
12
|
-
readonly tag: Tag;
|
|
13
|
-
readonly fields: FSharpChoice$2_$cases<T1, T2>[Tag][1];
|
|
14
|
-
constructor(tag: Tag, fields: FSharpChoice$2_$cases<T1, T2>[Tag][1]);
|
|
15
|
-
cases(): string[];
|
|
16
|
-
}
|
|
17
|
-
export declare function FSharpChoice$2_$reflection(gen0: TypeInfo, gen1: TypeInfo): TypeInfo;
|
|
18
|
-
export type FSharpChoice$3_$union<T1, T2, T3> = FSharpChoice$3<T1, T2, T3, 0> | FSharpChoice$3<T1, T2, T3, 1> | FSharpChoice$3<T1, T2, T3, 2>;
|
|
19
|
-
export type FSharpChoice$3_$cases<T1, T2, T3> = {
|
|
20
|
-
0: ["Choice1Of3", [T1]];
|
|
21
|
-
1: ["Choice2Of3", [T2]];
|
|
22
|
-
2: ["Choice3Of3", [T3]];
|
|
23
|
-
};
|
|
24
|
-
export declare function FSharpChoice$3_Choice1Of3<T1, T2, T3>(Item: T1): FSharpChoice$3<T1, T2, T3, 0>;
|
|
25
|
-
export declare function FSharpChoice$3_Choice2Of3<T1, T2, T3>(Item: T2): FSharpChoice$3<T1, T2, T3, 1>;
|
|
26
|
-
export declare function FSharpChoice$3_Choice3Of3<T1, T2, T3>(Item: T3): FSharpChoice$3<T1, T2, T3, 2>;
|
|
27
|
-
export declare class FSharpChoice$3<T1, T2, T3, Tag extends keyof FSharpChoice$3_$cases<T1, T2, T3>> extends Union<Tag, FSharpChoice$3_$cases<T1, T2, T3>[Tag][0]> {
|
|
28
|
-
readonly tag: Tag;
|
|
29
|
-
readonly fields: FSharpChoice$3_$cases<T1, T2, T3>[Tag][1];
|
|
30
|
-
constructor(tag: Tag, fields: FSharpChoice$3_$cases<T1, T2, T3>[Tag][1]);
|
|
31
|
-
cases(): string[];
|
|
32
|
-
}
|
|
33
|
-
export declare function FSharpChoice$3_$reflection(gen0: TypeInfo, gen1: TypeInfo, gen2: TypeInfo): TypeInfo;
|
|
34
|
-
export type FSharpChoice$4_$union<T1, T2, T3, T4> = FSharpChoice$4<T1, T2, T3, T4, 0> | FSharpChoice$4<T1, T2, T3, T4, 1> | FSharpChoice$4<T1, T2, T3, T4, 2> | FSharpChoice$4<T1, T2, T3, T4, 3>;
|
|
35
|
-
export type FSharpChoice$4_$cases<T1, T2, T3, T4> = {
|
|
36
|
-
0: ["Choice1Of4", [T1]];
|
|
37
|
-
1: ["Choice2Of4", [T2]];
|
|
38
|
-
2: ["Choice3Of4", [T3]];
|
|
39
|
-
3: ["Choice4Of4", [T4]];
|
|
40
|
-
};
|
|
41
|
-
export declare function FSharpChoice$4_Choice1Of4<T1, T2, T3, T4>(Item: T1): FSharpChoice$4<T1, T2, T3, T4, 0>;
|
|
42
|
-
export declare function FSharpChoice$4_Choice2Of4<T1, T2, T3, T4>(Item: T2): FSharpChoice$4<T1, T2, T3, T4, 1>;
|
|
43
|
-
export declare function FSharpChoice$4_Choice3Of4<T1, T2, T3, T4>(Item: T3): FSharpChoice$4<T1, T2, T3, T4, 2>;
|
|
44
|
-
export declare function FSharpChoice$4_Choice4Of4<T1, T2, T3, T4>(Item: T4): FSharpChoice$4<T1, T2, T3, T4, 3>;
|
|
45
|
-
export declare class FSharpChoice$4<T1, T2, T3, T4, Tag extends keyof FSharpChoice$4_$cases<T1, T2, T3, T4>> extends Union<Tag, FSharpChoice$4_$cases<T1, T2, T3, T4>[Tag][0]> {
|
|
46
|
-
readonly tag: Tag;
|
|
47
|
-
readonly fields: FSharpChoice$4_$cases<T1, T2, T3, T4>[Tag][1];
|
|
48
|
-
constructor(tag: Tag, fields: FSharpChoice$4_$cases<T1, T2, T3, T4>[Tag][1]);
|
|
49
|
-
cases(): string[];
|
|
50
|
-
}
|
|
51
|
-
export declare function FSharpChoice$4_$reflection(gen0: TypeInfo, gen1: TypeInfo, gen2: TypeInfo, gen3: TypeInfo): TypeInfo;
|
|
52
|
-
export type FSharpChoice$5_$union<T1, T2, T3, T4, T5> = FSharpChoice$5<T1, T2, T3, T4, T5, 0> | FSharpChoice$5<T1, T2, T3, T4, T5, 1> | FSharpChoice$5<T1, T2, T3, T4, T5, 2> | FSharpChoice$5<T1, T2, T3, T4, T5, 3> | FSharpChoice$5<T1, T2, T3, T4, T5, 4>;
|
|
53
|
-
export type FSharpChoice$5_$cases<T1, T2, T3, T4, T5> = {
|
|
54
|
-
0: ["Choice1Of5", [T1]];
|
|
55
|
-
1: ["Choice2Of5", [T2]];
|
|
56
|
-
2: ["Choice3Of5", [T3]];
|
|
57
|
-
3: ["Choice4Of5", [T4]];
|
|
58
|
-
4: ["Choice5Of5", [T5]];
|
|
59
|
-
};
|
|
60
|
-
export declare function FSharpChoice$5_Choice1Of5<T1, T2, T3, T4, T5>(Item: T1): FSharpChoice$5<T1, T2, T3, T4, T5, 0>;
|
|
61
|
-
export declare function FSharpChoice$5_Choice2Of5<T1, T2, T3, T4, T5>(Item: T2): FSharpChoice$5<T1, T2, T3, T4, T5, 1>;
|
|
62
|
-
export declare function FSharpChoice$5_Choice3Of5<T1, T2, T3, T4, T5>(Item: T3): FSharpChoice$5<T1, T2, T3, T4, T5, 2>;
|
|
63
|
-
export declare function FSharpChoice$5_Choice4Of5<T1, T2, T3, T4, T5>(Item: T4): FSharpChoice$5<T1, T2, T3, T4, T5, 3>;
|
|
64
|
-
export declare function FSharpChoice$5_Choice5Of5<T1, T2, T3, T4, T5>(Item: T5): FSharpChoice$5<T1, T2, T3, T4, T5, 4>;
|
|
65
|
-
export declare class FSharpChoice$5<T1, T2, T3, T4, T5, Tag extends keyof FSharpChoice$5_$cases<T1, T2, T3, T4, T5>> extends Union<Tag, FSharpChoice$5_$cases<T1, T2, T3, T4, T5>[Tag][0]> {
|
|
66
|
-
readonly tag: Tag;
|
|
67
|
-
readonly fields: FSharpChoice$5_$cases<T1, T2, T3, T4, T5>[Tag][1];
|
|
68
|
-
constructor(tag: Tag, fields: FSharpChoice$5_$cases<T1, T2, T3, T4, T5>[Tag][1]);
|
|
69
|
-
cases(): string[];
|
|
70
|
-
}
|
|
71
|
-
export declare function FSharpChoice$5_$reflection(gen0: TypeInfo, gen1: TypeInfo, gen2: TypeInfo, gen3: TypeInfo, gen4: TypeInfo): TypeInfo;
|
|
72
|
-
export type FSharpChoice$6_$union<T1, T2, T3, T4, T5, T6> = FSharpChoice$6<T1, T2, T3, T4, T5, T6, 0> | FSharpChoice$6<T1, T2, T3, T4, T5, T6, 1> | FSharpChoice$6<T1, T2, T3, T4, T5, T6, 2> | FSharpChoice$6<T1, T2, T3, T4, T5, T6, 3> | FSharpChoice$6<T1, T2, T3, T4, T5, T6, 4> | FSharpChoice$6<T1, T2, T3, T4, T5, T6, 5>;
|
|
73
|
-
export type FSharpChoice$6_$cases<T1, T2, T3, T4, T5, T6> = {
|
|
74
|
-
0: ["Choice1Of6", [T1]];
|
|
75
|
-
1: ["Choice2Of6", [T2]];
|
|
76
|
-
2: ["Choice3Of6", [T3]];
|
|
77
|
-
3: ["Choice4Of6", [T4]];
|
|
78
|
-
4: ["Choice5Of6", [T5]];
|
|
79
|
-
5: ["Choice6Of6", [T6]];
|
|
80
|
-
};
|
|
81
|
-
export declare function FSharpChoice$6_Choice1Of6<T1, T2, T3, T4, T5, T6>(Item: T1): FSharpChoice$6<T1, T2, T3, T4, T5, T6, 0>;
|
|
82
|
-
export declare function FSharpChoice$6_Choice2Of6<T1, T2, T3, T4, T5, T6>(Item: T2): FSharpChoice$6<T1, T2, T3, T4, T5, T6, 1>;
|
|
83
|
-
export declare function FSharpChoice$6_Choice3Of6<T1, T2, T3, T4, T5, T6>(Item: T3): FSharpChoice$6<T1, T2, T3, T4, T5, T6, 2>;
|
|
84
|
-
export declare function FSharpChoice$6_Choice4Of6<T1, T2, T3, T4, T5, T6>(Item: T4): FSharpChoice$6<T1, T2, T3, T4, T5, T6, 3>;
|
|
85
|
-
export declare function FSharpChoice$6_Choice5Of6<T1, T2, T3, T4, T5, T6>(Item: T5): FSharpChoice$6<T1, T2, T3, T4, T5, T6, 4>;
|
|
86
|
-
export declare function FSharpChoice$6_Choice6Of6<T1, T2, T3, T4, T5, T6>(Item: T6): FSharpChoice$6<T1, T2, T3, T4, T5, T6, 5>;
|
|
87
|
-
export declare class FSharpChoice$6<T1, T2, T3, T4, T5, T6, Tag extends keyof FSharpChoice$6_$cases<T1, T2, T3, T4, T5, T6>> extends Union<Tag, FSharpChoice$6_$cases<T1, T2, T3, T4, T5, T6>[Tag][0]> {
|
|
88
|
-
readonly tag: Tag;
|
|
89
|
-
readonly fields: FSharpChoice$6_$cases<T1, T2, T3, T4, T5, T6>[Tag][1];
|
|
90
|
-
constructor(tag: Tag, fields: FSharpChoice$6_$cases<T1, T2, T3, T4, T5, T6>[Tag][1]);
|
|
91
|
-
cases(): string[];
|
|
92
|
-
}
|
|
93
|
-
export declare function FSharpChoice$6_$reflection(gen0: TypeInfo, gen1: TypeInfo, gen2: TypeInfo, gen3: TypeInfo, gen4: TypeInfo, gen5: TypeInfo): TypeInfo;
|
|
94
|
-
export type FSharpChoice$7_$union<T1, T2, T3, T4, T5, T6, T7> = FSharpChoice$7<T1, T2, T3, T4, T5, T6, T7, 0> | FSharpChoice$7<T1, T2, T3, T4, T5, T6, T7, 1> | FSharpChoice$7<T1, T2, T3, T4, T5, T6, T7, 2> | FSharpChoice$7<T1, T2, T3, T4, T5, T6, T7, 3> | FSharpChoice$7<T1, T2, T3, T4, T5, T6, T7, 4> | FSharpChoice$7<T1, T2, T3, T4, T5, T6, T7, 5> | FSharpChoice$7<T1, T2, T3, T4, T5, T6, T7, 6>;
|
|
95
|
-
export type FSharpChoice$7_$cases<T1, T2, T3, T4, T5, T6, T7> = {
|
|
96
|
-
0: ["Choice1Of7", [T1]];
|
|
97
|
-
1: ["Choice2Of7", [T2]];
|
|
98
|
-
2: ["Choice3Of7", [T3]];
|
|
99
|
-
3: ["Choice4Of7", [T4]];
|
|
100
|
-
4: ["Choice5Of7", [T5]];
|
|
101
|
-
5: ["Choice6Of7", [T6]];
|
|
102
|
-
6: ["Choice7Of7", [T7]];
|
|
103
|
-
};
|
|
104
|
-
export declare function FSharpChoice$7_Choice1Of7<T1, T2, T3, T4, T5, T6, T7>(Item: T1): FSharpChoice$7<T1, T2, T3, T4, T5, T6, T7, 0>;
|
|
105
|
-
export declare function FSharpChoice$7_Choice2Of7<T1, T2, T3, T4, T5, T6, T7>(Item: T2): FSharpChoice$7<T1, T2, T3, T4, T5, T6, T7, 1>;
|
|
106
|
-
export declare function FSharpChoice$7_Choice3Of7<T1, T2, T3, T4, T5, T6, T7>(Item: T3): FSharpChoice$7<T1, T2, T3, T4, T5, T6, T7, 2>;
|
|
107
|
-
export declare function FSharpChoice$7_Choice4Of7<T1, T2, T3, T4, T5, T6, T7>(Item: T4): FSharpChoice$7<T1, T2, T3, T4, T5, T6, T7, 3>;
|
|
108
|
-
export declare function FSharpChoice$7_Choice5Of7<T1, T2, T3, T4, T5, T6, T7>(Item: T5): FSharpChoice$7<T1, T2, T3, T4, T5, T6, T7, 4>;
|
|
109
|
-
export declare function FSharpChoice$7_Choice6Of7<T1, T2, T3, T4, T5, T6, T7>(Item: T6): FSharpChoice$7<T1, T2, T3, T4, T5, T6, T7, 5>;
|
|
110
|
-
export declare function FSharpChoice$7_Choice7Of7<T1, T2, T3, T4, T5, T6, T7>(Item: T7): FSharpChoice$7<T1, T2, T3, T4, T5, T6, T7, 6>;
|
|
111
|
-
export declare class FSharpChoice$7<T1, T2, T3, T4, T5, T6, T7, Tag extends keyof FSharpChoice$7_$cases<T1, T2, T3, T4, T5, T6, T7>> extends Union<Tag, FSharpChoice$7_$cases<T1, T2, T3, T4, T5, T6, T7>[Tag][0]> {
|
|
112
|
-
readonly tag: Tag;
|
|
113
|
-
readonly fields: FSharpChoice$7_$cases<T1, T2, T3, T4, T5, T6, T7>[Tag][1];
|
|
114
|
-
constructor(tag: Tag, fields: FSharpChoice$7_$cases<T1, T2, T3, T4, T5, T6, T7>[Tag][1]);
|
|
115
|
-
cases(): string[];
|
|
116
|
-
}
|
|
117
|
-
export declare function FSharpChoice$7_$reflection(gen0: TypeInfo, gen1: TypeInfo, gen2: TypeInfo, gen3: TypeInfo, gen4: TypeInfo, gen5: TypeInfo, gen6: TypeInfo): TypeInfo;
|
|
118
|
-
export declare function Choice_makeChoice1Of2<T1, a>(x: T1): FSharpChoice$2_$union<T1, a>;
|
|
119
|
-
export declare function Choice_makeChoice2Of2<T2, a>(x: T2): FSharpChoice$2_$union<a, T2>;
|
|
120
|
-
export declare function Choice_tryValueIfChoice1Of2<T1, T2>(x: FSharpChoice$2_$union<T1, T2>): Option<T1>;
|
|
121
|
-
export declare function Choice_tryValueIfChoice2Of2<T1, T2>(x: FSharpChoice$2_$union<T1, T2>): Option<T2>;
|
package/CollectionUtil.d.ts
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
export declare function count<T>(col: Iterable<T>): number;
|
|
2
|
-
export declare function isReadOnly<T>(col: Iterable<T>): boolean;
|
|
3
|
-
export declare function copyTo<T>(col: Iterable<T>, array: T[], arrayIndex: number): void;
|
|
4
|
-
export declare function contains<T>(col: Iterable<T>, item: T): boolean;
|
|
5
|
-
export declare function add<T>(col: Iterable<T>, item: T): void;
|
|
6
|
-
export declare function remove<T>(col: Iterable<T>, item: T): boolean;
|
|
7
|
-
export declare function clear<T>(col: Iterable<T>): void;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
export declare class ConditionalWeakTable<TKey extends object, TValue> {
|
|
2
|
-
private weakMap;
|
|
3
|
-
delete(key: TKey): boolean;
|
|
4
|
-
get(key: TKey): TValue | undefined;
|
|
5
|
-
has(key: TKey): boolean;
|
|
6
|
-
set(key: TKey, value: TValue): WeakMap<TKey, TValue>;
|
|
7
|
-
clear(): void;
|
|
8
|
-
}
|
|
9
|
-
export default ConditionalWeakTable;
|