@fable-org/fable-library-js 2.0.0-beta.4 → 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 +56 -52
- package/Async.js +8 -7
- package/AsyncBuilder.js +6 -6
- package/BigInt.js +3 -3
- package/Boolean.js +2 -1
- package/CHANGELOG.md +8 -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 +23 -23
- package/Global.js +21 -0
- package/Guid.js +5 -4
- package/Int32.js +17 -17
- package/List.js +36 -35
- package/Long.js +3 -2
- package/MailboxProcessor.js +2 -1
- package/Map.js +29 -27
- package/MapUtil.js +4 -4
- package/MutableMap.js +22 -10
- package/MutableSet.js +3 -3
- package/Option.js +3 -3
- package/Random.js +12 -11
- package/Range.js +2 -2
- package/Reflection.js +16 -16
- package/RegExp.js +4 -3
- package/Seq.js +31 -29
- package/Set.js +34 -33
- package/String.js +44 -35
- package/System.Collections.Generic.js +20 -4
- package/System.Text.js +3 -3
- 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 +31 -17
- package/package.json +1 -1
- 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 -30
- 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 -3
- package/Numeric.d.ts +0 -20
- package/Observable.d.ts +0 -32
- package/Option.d.ts +0 -29
- 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 -164
- 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 -40
- 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 -212
- package/lib/big.d.ts +0 -5
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, Nullable } 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: Nullable<any>): boolean;
|
|
12
|
-
GetHashCode(): int32;
|
|
13
|
-
toJSON(): any;
|
|
14
|
-
CompareTo(other: Nullable<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"(): Nullable<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;
|
package/Map.d.ts
DELETED
|
@@ -1,178 +0,0 @@
|
|
|
1
|
-
import { TypeInfo } from "./Reflection.js";
|
|
2
|
-
import { Option } from "./Option.js";
|
|
3
|
-
import { int32 } from "./Int32.js";
|
|
4
|
-
import { IMap, IEnumerator, IComparer, Nullable } from "./Util.js";
|
|
5
|
-
import { FSharpList } from "./List.js";
|
|
6
|
-
import { FSharpRef, Record } from "./Types.js";
|
|
7
|
-
export declare class MapTreeLeaf$2<Key, Value> {
|
|
8
|
-
readonly v: Value;
|
|
9
|
-
readonly k: Key;
|
|
10
|
-
constructor(k: Key, v: Value);
|
|
11
|
-
}
|
|
12
|
-
export declare function MapTreeLeaf$2_$reflection(gen0: TypeInfo, gen1: TypeInfo): TypeInfo;
|
|
13
|
-
export declare function MapTreeLeaf$2_$ctor_5BDDA1<Key, Value>(k: Key, v: Value): MapTreeLeaf$2<Key, Value>;
|
|
14
|
-
export declare function MapTreeLeaf$2__get_Key<Key, Value>(_: MapTreeLeaf$2<Key, Value>): Key;
|
|
15
|
-
export declare function MapTreeLeaf$2__get_Value<Key, Value>(_: MapTreeLeaf$2<Key, Value>): Value;
|
|
16
|
-
export declare class MapTreeNode$2<Key, Value> extends MapTreeLeaf$2<Key, Value> {
|
|
17
|
-
readonly right: Option<MapTreeLeaf$2<Key, Value>>;
|
|
18
|
-
readonly left: Option<MapTreeLeaf$2<Key, Value>>;
|
|
19
|
-
readonly h: int32;
|
|
20
|
-
constructor(k: Key, v: Value, left: Option<MapTreeLeaf$2<Key, Value>>, right: Option<MapTreeLeaf$2<Key, Value>>, h: int32);
|
|
21
|
-
}
|
|
22
|
-
export declare function MapTreeNode$2_$reflection(gen0: TypeInfo, gen1: TypeInfo): TypeInfo;
|
|
23
|
-
export declare function MapTreeNode$2_$ctor_Z39DE9543<Key, Value>(k: Key, v: Value, left: Option<MapTreeLeaf$2<Key, Value>>, right: Option<MapTreeLeaf$2<Key, Value>>, h: int32): MapTreeNode$2<Key, Value>;
|
|
24
|
-
export declare function MapTreeNode$2__get_Left<Key, Value>(_: MapTreeNode$2<Key, Value>): Option<MapTreeLeaf$2<Key, Value>>;
|
|
25
|
-
export declare function MapTreeNode$2__get_Right<Key, Value>(_: MapTreeNode$2<Key, Value>): Option<MapTreeLeaf$2<Key, Value>>;
|
|
26
|
-
export declare function MapTreeNode$2__get_Height<Key, Value>(_: MapTreeNode$2<Key, Value>): int32;
|
|
27
|
-
export declare function MapTreeModule_empty<Key, Value>(): Option<MapTreeLeaf$2<Key, Value>>;
|
|
28
|
-
export declare function MapTreeModule_sizeAux<Key, Value>(acc_mut: int32, m_mut: Option<MapTreeLeaf$2<Key, Value>>): int32;
|
|
29
|
-
export declare function MapTreeModule_size<$a, $b>(x: Option<MapTreeLeaf$2<$a, $b>>): int32;
|
|
30
|
-
export declare function MapTreeModule_mk<Key, Value>(l: Option<MapTreeLeaf$2<Key, Value>>, k: Key, v: Value, r: Option<MapTreeLeaf$2<Key, Value>>): Option<MapTreeLeaf$2<Key, Value>>;
|
|
31
|
-
export declare function MapTreeModule_rebalance<Key, Value>(t1: Option<MapTreeLeaf$2<Key, Value>>, k: Key, v: Value, t2: Option<MapTreeLeaf$2<Key, Value>>): Option<MapTreeLeaf$2<Key, Value>>;
|
|
32
|
-
export declare function MapTreeModule_add<Key, Value>(comparer: IComparer<Key>, k: Key, v: Value, m: Option<MapTreeLeaf$2<Key, Value>>): Option<MapTreeLeaf$2<Key, Value>>;
|
|
33
|
-
export declare function MapTreeModule_tryFind<Key, Value>(comparer_mut: IComparer<Key>, k_mut: Key, m_mut: Option<MapTreeLeaf$2<Key, Value>>): Option<Value>;
|
|
34
|
-
export declare function MapTreeModule_find<Key, Value>(comparer: IComparer<Key>, k: Key, m: Option<MapTreeLeaf$2<Key, Value>>): Value;
|
|
35
|
-
export declare function MapTreeModule_partition1<Key, $a>(comparer: IComparer<Key>, f: any, k: Key, v: $a, acc1: Option<MapTreeLeaf$2<Key, $a>>, acc2: Option<MapTreeLeaf$2<Key, $a>>): [Option<MapTreeLeaf$2<Key, $a>>, Option<MapTreeLeaf$2<Key, $a>>];
|
|
36
|
-
export declare function MapTreeModule_partitionAux<Key, Value>(comparer_mut: IComparer<Key>, f_mut: any, m_mut: Option<MapTreeLeaf$2<Key, Value>>, acc__mut: Option<MapTreeLeaf$2<Key, Value>>, acc__1_mut: Option<MapTreeLeaf$2<Key, Value>>): [Option<MapTreeLeaf$2<Key, Value>>, Option<MapTreeLeaf$2<Key, Value>>];
|
|
37
|
-
export declare function MapTreeModule_partition<Key, $a>(comparer: IComparer<Key>, f: ((arg0: Key, arg1: $a) => boolean), m: Option<MapTreeLeaf$2<Key, $a>>): [Option<MapTreeLeaf$2<Key, $a>>, Option<MapTreeLeaf$2<Key, $a>>];
|
|
38
|
-
export declare function MapTreeModule_filter1<Key, $a>(comparer: IComparer<Key>, f: any, k: Key, v: $a, acc: Option<MapTreeLeaf$2<Key, $a>>): Option<MapTreeLeaf$2<Key, $a>>;
|
|
39
|
-
export declare function MapTreeModule_filterAux<Key, Value>(comparer_mut: IComparer<Key>, f_mut: any, m_mut: Option<MapTreeLeaf$2<Key, Value>>, acc_mut: Option<MapTreeLeaf$2<Key, Value>>): Option<MapTreeLeaf$2<Key, Value>>;
|
|
40
|
-
export declare function MapTreeModule_filter<Key, $a>(comparer: IComparer<Key>, f: ((arg0: Key, arg1: $a) => boolean), m: Option<MapTreeLeaf$2<Key, $a>>): Option<MapTreeLeaf$2<Key, $a>>;
|
|
41
|
-
export declare function MapTreeModule_spliceOutSuccessor<Key, Value>(m: Option<MapTreeLeaf$2<Key, Value>>): [Key, Value, Option<MapTreeLeaf$2<Key, Value>>];
|
|
42
|
-
export declare function MapTreeModule_remove<Key, Value>(comparer: IComparer<Key>, k: Nullable<Key>, m: Option<MapTreeLeaf$2<Key, Value>>): Option<MapTreeLeaf$2<Key, Value>>;
|
|
43
|
-
export declare function MapTreeModule_change<Key, Value>(comparer: IComparer<Key>, k: Key, u: ((arg0: Option<Value>) => Option<Value>), m: Option<MapTreeLeaf$2<Key, Value>>): Option<MapTreeLeaf$2<Key, Value>>;
|
|
44
|
-
export declare function MapTreeModule_mem<Key, Value>(comparer_mut: IComparer<Key>, k_mut: Nullable<Key>, m_mut: Option<MapTreeLeaf$2<Key, Value>>): boolean;
|
|
45
|
-
export declare function MapTreeModule_iterOpt<Key, Value>(f_mut: any, m_mut: Option<MapTreeLeaf$2<Key, Value>>): void;
|
|
46
|
-
export declare function MapTreeModule_iter<$a, $b>(f: ((arg0: $a, arg1: $b) => void), m: Option<MapTreeLeaf$2<$a, $b>>): void;
|
|
47
|
-
export declare function MapTreeModule_tryPickOpt<Key, Value, $a>(f_mut: any, m_mut: Option<MapTreeLeaf$2<Key, Value>>): Option<$a>;
|
|
48
|
-
export declare function MapTreeModule_tryPick<$a, $b, $c>(f: ((arg0: $a, arg1: $b) => Option<$c>), m: Option<MapTreeLeaf$2<$a, $b>>): Option<$c>;
|
|
49
|
-
export declare function MapTreeModule_existsOpt<Key, Value>(f_mut: any, m_mut: Option<MapTreeLeaf$2<Key, Value>>): boolean;
|
|
50
|
-
export declare function MapTreeModule_exists<$a, $b>(f: ((arg0: $a, arg1: $b) => boolean), m: Option<MapTreeLeaf$2<$a, $b>>): boolean;
|
|
51
|
-
export declare function MapTreeModule_forallOpt<Key, Value>(f_mut: any, m_mut: Option<MapTreeLeaf$2<Key, Value>>): boolean;
|
|
52
|
-
export declare function MapTreeModule_forall<$a, $b>(f: ((arg0: $a, arg1: $b) => boolean), m: Option<MapTreeLeaf$2<$a, $b>>): boolean;
|
|
53
|
-
export declare function MapTreeModule_map<Value, Result, Key>(f: ((arg0: Value) => Result), m: Option<MapTreeLeaf$2<Key, Value>>): Option<MapTreeLeaf$2<Key, Result>>;
|
|
54
|
-
export declare function MapTreeModule_mapiOpt<Key, Value, Result>(f: any, m: Option<MapTreeLeaf$2<Key, Value>>): Option<MapTreeLeaf$2<Key, Result>>;
|
|
55
|
-
export declare function MapTreeModule_mapi<$a, $b, $c>(f: ((arg0: $a, arg1: $b) => $c), m: Option<MapTreeLeaf$2<$a, $b>>): Option<MapTreeLeaf$2<$a, $c>>;
|
|
56
|
-
export declare function MapTreeModule_foldBackOpt<Key, Value, $a>(f_mut: any, m_mut: Option<MapTreeLeaf$2<Key, Value>>, x_mut: $a): $a;
|
|
57
|
-
export declare function MapTreeModule_foldBack<$a, $b, $c>(f: ((arg0: $a, arg1: $b, arg2: $c) => $c), m: Option<MapTreeLeaf$2<$a, $b>>, x: $c): $c;
|
|
58
|
-
export declare function MapTreeModule_foldOpt<$a, Key, Value>(f_mut: any, x_mut: $a, m_mut: Option<MapTreeLeaf$2<Key, Value>>): $a;
|
|
59
|
-
export declare function MapTreeModule_fold<$a, $b, $c>(f: ((arg0: $a, arg1: $b, arg2: $c) => $a), x: $a, m: Option<MapTreeLeaf$2<$b, $c>>): $a;
|
|
60
|
-
export declare function MapTreeModule_foldSectionOpt<Key, Value, a>(comparer: IComparer<Key>, lo: Nullable<Key>, hi: Nullable<Key>, f: any, m: Option<MapTreeLeaf$2<Key, Value>>, x: a): a;
|
|
61
|
-
export declare function MapTreeModule_foldSection<$a, $b, $c>(comparer: IComparer<$a>, lo: Nullable<$a>, hi: Nullable<$a>, f: ((arg0: $a, arg1: $b, arg2: $c) => $c), m: Option<MapTreeLeaf$2<$a, $b>>, x: $c): $c;
|
|
62
|
-
export declare function MapTreeModule_toList<Key, Value>(m: Option<MapTreeLeaf$2<Key, Value>>): FSharpList<[Key, Value]>;
|
|
63
|
-
export declare function MapTreeModule_copyToArray<$a, $b>(m: Option<MapTreeLeaf$2<$a, $b>>, arr: [$a, $b][], i: int32): void;
|
|
64
|
-
export declare function MapTreeModule_toArray<$a, $b>(m: Option<MapTreeLeaf$2<$a, $b>>): [$a, $b][];
|
|
65
|
-
export declare function MapTreeModule_ofList<$a, $b>(comparer: IComparer<$a>, l: FSharpList<[$a, $b]>): Option<MapTreeLeaf$2<$a, $b>>;
|
|
66
|
-
export declare function MapTreeModule_mkFromEnumerator<$a, $b>(comparer_mut: IComparer<$a>, acc_mut: Option<MapTreeLeaf$2<$a, $b>>, e_mut: IEnumerator<[$a, $b]>): Option<MapTreeLeaf$2<$a, $b>>;
|
|
67
|
-
export declare function MapTreeModule_ofArray<Key, Value>(comparer: IComparer<Key>, arr: [Key, Value][]): Option<MapTreeLeaf$2<Key, Value>>;
|
|
68
|
-
export declare function MapTreeModule_ofSeq<Key, Value>(comparer: IComparer<Key>, c: Iterable<[Key, Value]>): Option<MapTreeLeaf$2<Key, Value>>;
|
|
69
|
-
export declare class MapTreeModule_MapIterator$2<Key, Value> extends Record {
|
|
70
|
-
stack: FSharpList<Option<MapTreeLeaf$2<Key, Value>>>;
|
|
71
|
-
started: boolean;
|
|
72
|
-
constructor(stack: FSharpList<Option<MapTreeLeaf$2<Key, Value>>>, started: boolean);
|
|
73
|
-
}
|
|
74
|
-
export declare function MapTreeModule_MapIterator$2_$reflection(gen0: TypeInfo, gen1: TypeInfo): TypeInfo;
|
|
75
|
-
export declare function MapTreeModule_collapseLHS<Key, Value>(stack_mut: FSharpList<Option<MapTreeLeaf$2<Key, Value>>>): FSharpList<Option<MapTreeLeaf$2<Key, Value>>>;
|
|
76
|
-
export declare function MapTreeModule_mkIterator<$a, $b>(m: Option<MapTreeLeaf$2<$a, $b>>): MapTreeModule_MapIterator$2<$a, $b>;
|
|
77
|
-
export declare function MapTreeModule_notStarted<$a>(): $a;
|
|
78
|
-
export declare function MapTreeModule_alreadyFinished<$a>(): $a;
|
|
79
|
-
export declare function MapTreeModule_current<Key, Value>(i: MapTreeModule_MapIterator$2<Key, Value>): [Key, Value];
|
|
80
|
-
export declare function MapTreeModule_moveNext<Key, Value>(i: MapTreeModule_MapIterator$2<Key, Value>): boolean;
|
|
81
|
-
export declare function MapTreeModule_mkIEnumerator<a, b>(m: Option<MapTreeLeaf$2<a, b>>): IEnumerator<[a, b]>;
|
|
82
|
-
export declare function MapTreeModule_toSeq<$a, $b>(s: Option<MapTreeLeaf$2<$a, $b>>): Iterable<[$a, $b]>;
|
|
83
|
-
export declare function MapTreeModule_leftmost<Key, Value>(m_mut: Option<MapTreeLeaf$2<Key, Value>>): [Key, Value];
|
|
84
|
-
export declare function MapTreeModule_rightmost<Key, Value>(m_mut: Option<MapTreeLeaf$2<Key, Value>>): [Key, Value];
|
|
85
|
-
export declare class FSharpMap<Key, Value> implements IMap<Key, Value>, Iterable<[Key, Value]>, Iterable<[Key, Value]> {
|
|
86
|
-
readonly tree: Option<MapTreeLeaf$2<Key, Value>>;
|
|
87
|
-
readonly comparer: IComparer<Key>;
|
|
88
|
-
constructor(comparer: IComparer<Key>, tree: Option<MapTreeLeaf$2<Key, Value>>);
|
|
89
|
-
GetHashCode(): int32;
|
|
90
|
-
Equals(other: Nullable<any>): boolean;
|
|
91
|
-
toString(): string;
|
|
92
|
-
get [Symbol.toStringTag](): string;
|
|
93
|
-
toJSON(): any;
|
|
94
|
-
GetEnumerator(): IEnumerator<[Key, Value]>;
|
|
95
|
-
[Symbol.iterator](): Iterator<[Key, Value]>;
|
|
96
|
-
"System.Collections.IEnumerable.GetEnumerator"(): IEnumerator<any>;
|
|
97
|
-
CompareTo(other: Nullable<any>): int32;
|
|
98
|
-
"System.Collections.Generic.ICollection`1.Add2B595"(x: [Key, Value]): void;
|
|
99
|
-
"System.Collections.Generic.ICollection`1.Clear"(): void;
|
|
100
|
-
"System.Collections.Generic.ICollection`1.Remove2B595"(x: [Key, Value]): boolean;
|
|
101
|
-
"System.Collections.Generic.ICollection`1.Contains2B595"(x: [Key, Value]): boolean;
|
|
102
|
-
"System.Collections.Generic.ICollection`1.CopyToZ3B4C077E"(arr: [Key, Value][], i: int32): void;
|
|
103
|
-
"System.Collections.Generic.ICollection`1.get_IsReadOnly"(): boolean;
|
|
104
|
-
"System.Collections.Generic.ICollection`1.get_Count"(): int32;
|
|
105
|
-
"System.Collections.Generic.IReadOnlyCollection`1.get_Count"(): int32;
|
|
106
|
-
get size(): int32;
|
|
107
|
-
clear(): void;
|
|
108
|
-
delete(_arg: Key): boolean;
|
|
109
|
-
entries(): Iterable<[Key, Value]>;
|
|
110
|
-
get(k: Key): Value;
|
|
111
|
-
has(k: Key): boolean;
|
|
112
|
-
keys(): Iterable<Key>;
|
|
113
|
-
set(k: Key, v: Value): IMap<Key, Value>;
|
|
114
|
-
values(): Iterable<Value>;
|
|
115
|
-
forEach(f: ((arg0: Value, arg1: Key, arg2: IMap<Key, Value>) => void), thisArg?: Option<any>): void;
|
|
116
|
-
}
|
|
117
|
-
export declare function FSharpMap_$reflection(gen0: TypeInfo, gen1: TypeInfo): TypeInfo;
|
|
118
|
-
export declare function FSharpMap_$ctor<Key, Value>(comparer: IComparer<Key>, tree: Option<MapTreeLeaf$2<Key, Value>>): FSharpMap<Key, Value>;
|
|
119
|
-
export declare function FSharpMap_Empty<Key, Value>(comparer: IComparer<Key>): FSharpMap<Key, Value>;
|
|
120
|
-
export declare function FSharpMap__get_Comparer<Key, Value>(m: FSharpMap<Key, Value>): IComparer<Key>;
|
|
121
|
-
export declare function FSharpMap__get_Tree<Key, Value>(m: FSharpMap<Key, Value>): Option<MapTreeLeaf$2<Key, Value>>;
|
|
122
|
-
export declare function FSharpMap__Add<Key, Value>(m: FSharpMap<Key, Value>, key: Key, value: Value): FSharpMap<Key, Value>;
|
|
123
|
-
export declare function FSharpMap__Change<Key, Value>(m: FSharpMap<Key, Value>, key: Key, f: ((arg0: Option<Value>) => Option<Value>)): FSharpMap<Key, Value>;
|
|
124
|
-
export declare function FSharpMap__get_IsEmpty<Key, Value>(m: FSharpMap<Key, Value>): boolean;
|
|
125
|
-
export declare function FSharpMap__get_Item<Key, Value>(m: FSharpMap<Key, Value>, key: Key): Value;
|
|
126
|
-
export declare function FSharpMap__TryPick<Key, Value, $a>(m: FSharpMap<Key, Value>, f: ((arg0: Key, arg1: Value) => Option<$a>)): Option<$a>;
|
|
127
|
-
export declare function FSharpMap__Exists<Key, Value>(m: FSharpMap<Key, Value>, predicate: ((arg0: Key, arg1: Value) => boolean)): boolean;
|
|
128
|
-
export declare function FSharpMap__Filter<Key, Value>(m: FSharpMap<Key, Value>, predicate: ((arg0: Key, arg1: Value) => boolean)): FSharpMap<Key, Value>;
|
|
129
|
-
export declare function FSharpMap__ForAll<Key, Value>(m: FSharpMap<Key, Value>, predicate: ((arg0: Key, arg1: Value) => boolean)): boolean;
|
|
130
|
-
export declare function FSharpMap__Fold<Key, Value, $a>(m: FSharpMap<Key, Value>, f: ((arg0: Key, arg1: Value, arg2: $a) => $a), acc: $a): $a;
|
|
131
|
-
export declare function FSharpMap__FoldSection<Key, Value, $a>(m: FSharpMap<Key, Value>, lo: Nullable<Key>, hi: Nullable<Key>, f: ((arg0: Key, arg1: Value, arg2: $a) => $a), acc: $a): $a;
|
|
132
|
-
export declare function FSharpMap__Iterate<Key, Value>(m: FSharpMap<Key, Value>, f: ((arg0: Key, arg1: Value) => void)): void;
|
|
133
|
-
export declare function FSharpMap__MapRange<Key, Value, Result>(m: FSharpMap<Key, Value>, f: ((arg0: Value) => Result)): FSharpMap<Key, Result>;
|
|
134
|
-
export declare function FSharpMap__Map<Key, Value, b>(m: FSharpMap<Key, Value>, f: ((arg0: Key, arg1: Value) => b)): FSharpMap<Key, b>;
|
|
135
|
-
export declare function FSharpMap__Partition<Key, Value>(m: FSharpMap<Key, Value>, predicate: ((arg0: Key, arg1: Value) => boolean)): [FSharpMap<Key, Value>, FSharpMap<Key, Value>];
|
|
136
|
-
export declare function FSharpMap__get_Count<Key, Value>(m: FSharpMap<Key, Value>): int32;
|
|
137
|
-
export declare function FSharpMap__ContainsKey<Key, Value>(m: FSharpMap<Key, Value>, key: Nullable<Key>): boolean;
|
|
138
|
-
export declare function FSharpMap__Remove<Key, Value>(m: FSharpMap<Key, Value>, key: Nullable<Key>): FSharpMap<Key, Value>;
|
|
139
|
-
export declare function FSharpMap__TryGetValue<Key, Value>(_: FSharpMap<Key, Value>, key: Key, value: FSharpRef<Value>): boolean;
|
|
140
|
-
export declare function FSharpMap__get_Keys<Key, Value>(_: FSharpMap<Key, Value>): Iterable<Key>;
|
|
141
|
-
export declare function FSharpMap__get_Values<Key, Value>(_: FSharpMap<Key, Value>): Iterable<Value>;
|
|
142
|
-
export declare function FSharpMap__get_MinKeyValue<Key, Value>(m: FSharpMap<Key, Value>): [Key, Value];
|
|
143
|
-
export declare function FSharpMap__get_MaxKeyValue<Key, Value>(m: FSharpMap<Key, Value>): [Key, Value];
|
|
144
|
-
export declare function FSharpMap__TryFind<Key, Value>(m: FSharpMap<Key, Value>, key: Key): Option<Value>;
|
|
145
|
-
export declare function FSharpMap__ToList<Key, Value>(m: FSharpMap<Key, Value>): FSharpList<[Key, Value]>;
|
|
146
|
-
export declare function FSharpMap__ToArray<Key, Value>(m: FSharpMap<Key, Value>): [Key, Value][];
|
|
147
|
-
export declare function FSharpMap__ComputeHashCode<Key, Value>(this$: FSharpMap<Key, Value>): int32;
|
|
148
|
-
export declare function isEmpty<$a, $b>(table: FSharpMap<$a, $b>): boolean;
|
|
149
|
-
export declare function add<$a, $b>(key: $a, value: $b, table: FSharpMap<$a, $b>): FSharpMap<$a, $b>;
|
|
150
|
-
export declare function change<$a, $b>(key: $a, f: ((arg0: Option<$b>) => Option<$b>), table: FSharpMap<$a, $b>): FSharpMap<$a, $b>;
|
|
151
|
-
export declare function find<$a, $b>(key: $a, table: FSharpMap<$a, $b>): $b;
|
|
152
|
-
export declare function tryFind<$a, $b>(key: $a, table: FSharpMap<$a, $b>): Option<$b>;
|
|
153
|
-
export declare function remove<$a, $b>(key: Nullable<$a>, table: FSharpMap<$a, $b>): FSharpMap<$a, $b>;
|
|
154
|
-
export declare function containsKey<$a, $b>(key: Nullable<$a>, table: FSharpMap<$a, $b>): boolean;
|
|
155
|
-
export declare function iterate<$a, $b>(action: ((arg0: $a, arg1: $b) => void), table: FSharpMap<$a, $b>): void;
|
|
156
|
-
export declare function tryPick<$a, $b, $c>(chooser: ((arg0: $a, arg1: $b) => Option<$c>), table: FSharpMap<$a, $b>): Option<$c>;
|
|
157
|
-
export declare function pick<$a, $b, $c>(chooser: ((arg0: $a, arg1: $b) => Option<$c>), table: FSharpMap<$a, $b>): $c;
|
|
158
|
-
export declare function exists<$a, $b>(predicate: ((arg0: $a, arg1: $b) => boolean), table: FSharpMap<$a, $b>): boolean;
|
|
159
|
-
export declare function filter<$a, $b>(predicate: ((arg0: $a, arg1: $b) => boolean), table: FSharpMap<$a, $b>): FSharpMap<$a, $b>;
|
|
160
|
-
export declare function partition<$a, $b>(predicate: ((arg0: $a, arg1: $b) => boolean), table: FSharpMap<$a, $b>): [FSharpMap<$a, $b>, FSharpMap<$a, $b>];
|
|
161
|
-
export declare function forAll<$a, $b>(predicate: ((arg0: $a, arg1: $b) => boolean), table: FSharpMap<$a, $b>): boolean;
|
|
162
|
-
export declare function map<$a, $b, $c>(mapping: ((arg0: $a, arg1: $b) => $c), table: FSharpMap<$a, $b>): FSharpMap<$a, $c>;
|
|
163
|
-
export declare function fold<Key, T, State>(folder: ((arg0: State, arg1: Key, arg2: T) => State), state: State, table: FSharpMap<Key, T>): State;
|
|
164
|
-
export declare function foldBack<Key, T, State>(folder: ((arg0: Key, arg1: T, arg2: State) => State), table: FSharpMap<Key, T>, state: State): State;
|
|
165
|
-
export declare function toSeq<$a, $b>(table: FSharpMap<$a, $b>): Iterable<[$a, $b]>;
|
|
166
|
-
export declare function findKey<$a, $b>(predicate: ((arg0: $a, arg1: $b) => boolean), table: FSharpMap<$a, $b>): $a;
|
|
167
|
-
export declare function tryFindKey<$a, $b>(predicate: ((arg0: $a, arg1: $b) => boolean), table: FSharpMap<$a, $b>): Option<$a>;
|
|
168
|
-
export declare function ofList<Key, Value>(elements: FSharpList<[Key, Value]>, comparer: IComparer<Key>): FSharpMap<Key, Value>;
|
|
169
|
-
export declare function ofSeq<T, $a>(elements: Iterable<[T, $a]>, comparer: IComparer<T>): FSharpMap<T, $a>;
|
|
170
|
-
export declare function ofArray<Key, Value>(elements: [Key, Value][], comparer: IComparer<Key>): FSharpMap<Key, Value>;
|
|
171
|
-
export declare function toList<$a, $b>(table: FSharpMap<$a, $b>): FSharpList<[$a, $b]>;
|
|
172
|
-
export declare function toArray<$a, $b>(table: FSharpMap<$a, $b>): [$a, $b][];
|
|
173
|
-
export declare function keys<K, V>(table: FSharpMap<K, V>): Iterable<K>;
|
|
174
|
-
export declare function values<K, V>(table: FSharpMap<K, V>): Iterable<V>;
|
|
175
|
-
export declare function minKeyValue<$a, $b>(table: FSharpMap<$a, $b>): [$a, $b];
|
|
176
|
-
export declare function maxKeyValue<$a, $b>(table: FSharpMap<$a, $b>): [$a, $b];
|
|
177
|
-
export declare function empty<Key, Value>(comparer: IComparer<Key>): FSharpMap<Key, Value>;
|
|
178
|
-
export declare function count<$a, $b>(table: FSharpMap<$a, $b>): int32;
|
package/MapUtil.d.ts
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { IMap, IMapOrWeakMap, ISet } from "./Util.js";
|
|
2
|
-
import { FSharpRef } from "./Types.js";
|
|
3
|
-
export declare function keyValueList(fields: Iterable<any>, caseRule?: number): {
|
|
4
|
-
[k: string]: any;
|
|
5
|
-
};
|
|
6
|
-
export declare function containsValue<K, V>(v: V, map: IMap<K, V>): boolean;
|
|
7
|
-
export declare function tryGetValue<K, V>(map: IMapOrWeakMap<K, V>, key: K, defaultValue: FSharpRef<V>): boolean;
|
|
8
|
-
export declare function addToSet<T>(v: T, set: ISet<T>): boolean;
|
|
9
|
-
export declare function tryAddToDict<K, V>(dict: IMapOrWeakMap<K, V>, k: K, v: V): boolean;
|
|
10
|
-
export declare function addToDict<K, V>(dict: IMapOrWeakMap<K, V>, k: K, v: V): void;
|
|
11
|
-
export declare function getItemFromDict<K, V>(map: IMap<K, V>, key: K): V;
|
|
12
|
-
export declare function getItemFromDictOrCreate<K, V>(map: IMapOrWeakMap<K, V>, key: K, createValue: (key: K) => V): V;
|
package/MutableMap.d.ts
DELETED
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
import { IEqualityComparer, IMap, IEnumerator } from "./Util.js";
|
|
2
|
-
import { Option } from "./Option.js";
|
|
3
|
-
import { int32 } from "./Int32.js";
|
|
4
|
-
import { FSharpRef } from "./Types.js";
|
|
5
|
-
import { TypeInfo } from "./Reflection.js";
|
|
6
|
-
export declare class Dictionary<Key, Value> implements IMap<Key, Value>, Iterable<[Key, Value]>, Iterable<[Key, Value]> {
|
|
7
|
-
readonly comparer: IEqualityComparer<Key>;
|
|
8
|
-
readonly hashMap: IMap<int32, [Key, Value][]>;
|
|
9
|
-
"init@9": int32;
|
|
10
|
-
constructor(pairs: Iterable<[Key, Value]>, comparer: IEqualityComparer<Key>);
|
|
11
|
-
get [Symbol.toStringTag](): string;
|
|
12
|
-
toJSON(): any;
|
|
13
|
-
"System.Collections.IEnumerable.GetEnumerator"(): IEnumerator<any>;
|
|
14
|
-
GetEnumerator(): IEnumerator<[Key, Value]>;
|
|
15
|
-
[Symbol.iterator](): Iterator<[Key, Value]>;
|
|
16
|
-
"System.Collections.Generic.ICollection`1.Add2B595"(item: [Key, Value]): void;
|
|
17
|
-
"System.Collections.Generic.ICollection`1.Clear"(): void;
|
|
18
|
-
"System.Collections.Generic.ICollection`1.Contains2B595"(item: [Key, Value]): boolean;
|
|
19
|
-
"System.Collections.Generic.ICollection`1.CopyToZ3B4C077E"(array: [Key, Value][], arrayIndex: int32): void;
|
|
20
|
-
"System.Collections.Generic.ICollection`1.get_Count"(): int32;
|
|
21
|
-
"System.Collections.Generic.ICollection`1.get_IsReadOnly"(): boolean;
|
|
22
|
-
"System.Collections.Generic.ICollection`1.Remove2B595"(item: [Key, Value]): boolean;
|
|
23
|
-
"System.Collections.Generic.IDictionary`2.Add5BDDA1"(key: Key, value: Value): void;
|
|
24
|
-
"System.Collections.Generic.IDictionary`2.ContainsKey2B595"(key: Key): boolean;
|
|
25
|
-
"System.Collections.Generic.IDictionary`2.get_Item2B595"(key: Key): Value;
|
|
26
|
-
"System.Collections.Generic.IDictionary`2.set_Item5BDDA1"(key: Key, v: Value): void;
|
|
27
|
-
"System.Collections.Generic.IDictionary`2.get_Keys"(): Iterable<Key>;
|
|
28
|
-
"System.Collections.Generic.IDictionary`2.Remove2B595"(key: Key): boolean;
|
|
29
|
-
"System.Collections.Generic.IDictionary`2.TryGetValue6DC89625"(key: Key, value: FSharpRef<Value>): boolean;
|
|
30
|
-
"System.Collections.Generic.IDictionary`2.get_Values"(): Iterable<Value>;
|
|
31
|
-
get size(): int32;
|
|
32
|
-
clear(): void;
|
|
33
|
-
delete(k: Key): boolean;
|
|
34
|
-
entries(): Iterable<[Key, Value]>;
|
|
35
|
-
get(k: Key): Value;
|
|
36
|
-
has(k: Key): boolean;
|
|
37
|
-
keys(): Iterable<Key>;
|
|
38
|
-
set(k: Key, v: Value): IMap<Key, Value>;
|
|
39
|
-
values(): Iterable<Value>;
|
|
40
|
-
forEach(f: ((arg0: Value, arg1: Key, arg2: IMap<Key, Value>) => void), thisArg?: Option<any>): void;
|
|
41
|
-
}
|
|
42
|
-
export declare function Dictionary_$reflection(gen0: TypeInfo, gen1: TypeInfo): TypeInfo;
|
|
43
|
-
export declare function Dictionary_$ctor_6623D9B3<Key, Value>(pairs: Iterable<[Key, Value]>, comparer: IEqualityComparer<Key>): Dictionary<Key, Value>;
|
|
44
|
-
export declare function Dictionary__TryFind_2B595<Key, Value>(this$: Dictionary<Key, Value>, k: Key): Option<[Key, Value]>;
|
|
45
|
-
export declare function Dictionary__get_Comparer<Key, Value>(this$: Dictionary<Key, Value>): IEqualityComparer<Key>;
|
|
46
|
-
export declare function Dictionary__Clear<Key, Value>(this$: Dictionary<Key, Value>): void;
|
|
47
|
-
export declare function Dictionary__get_Count<Key, Value>(this$: Dictionary<Key, Value>): int32;
|
|
48
|
-
export declare function Dictionary__get_Item_2B595<Key, Value>(this$: Dictionary<Key, Value>, k: Key): Value;
|
|
49
|
-
export declare function Dictionary__set_Item_5BDDA1<Key, Value>(this$: Dictionary<Key, Value>, k: Key, v: Value): void;
|
|
50
|
-
export declare function Dictionary__Add_5BDDA1<Key, Value>(this$: Dictionary<Key, Value>, k: Key, v: Value): void;
|
|
51
|
-
export declare function Dictionary__ContainsKey_2B595<Key, Value>(this$: Dictionary<Key, Value>, k: Key): boolean;
|
|
52
|
-
export declare function Dictionary__Remove_2B595<Key, Value>(this$: Dictionary<Key, Value>, k: Key): boolean;
|
package/MutableSet.d.ts
DELETED
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import { IMap, IEqualityComparer, ISet, IEnumerator } from "./Util.js";
|
|
2
|
-
import { int32 } from "./Int32.js";
|
|
3
|
-
import { Option } from "./Option.js";
|
|
4
|
-
import { TypeInfo } from "./Reflection.js";
|
|
5
|
-
export declare class HashSet<T> implements ISet<T>, Iterable<T>, Iterable<T> {
|
|
6
|
-
readonly comparer: IEqualityComparer<T>;
|
|
7
|
-
readonly hashMap: IMap<int32, T[]>;
|
|
8
|
-
"init@9": int32;
|
|
9
|
-
constructor(items: Iterable<T>, comparer: IEqualityComparer<T>);
|
|
10
|
-
get [Symbol.toStringTag](): string;
|
|
11
|
-
toJSON(): any;
|
|
12
|
-
"System.Collections.IEnumerable.GetEnumerator"(): IEnumerator<any>;
|
|
13
|
-
GetEnumerator(): IEnumerator<T>;
|
|
14
|
-
[Symbol.iterator](): Iterator<T>;
|
|
15
|
-
"System.Collections.Generic.ICollection`1.Add2B595"(item: T): void;
|
|
16
|
-
"System.Collections.Generic.ICollection`1.Clear"(): void;
|
|
17
|
-
"System.Collections.Generic.ICollection`1.Contains2B595"(item: T): boolean;
|
|
18
|
-
"System.Collections.Generic.ICollection`1.CopyToZ3B4C077E"(array: T[], arrayIndex: int32): void;
|
|
19
|
-
"System.Collections.Generic.ICollection`1.get_Count"(): int32;
|
|
20
|
-
"System.Collections.Generic.ICollection`1.get_IsReadOnly"(): boolean;
|
|
21
|
-
"System.Collections.Generic.ICollection`1.Remove2B595"(item: T): boolean;
|
|
22
|
-
get size(): int32;
|
|
23
|
-
add(k: T): ISet<T>;
|
|
24
|
-
clear(): void;
|
|
25
|
-
delete(k: T): boolean;
|
|
26
|
-
has(k: T): boolean;
|
|
27
|
-
keys(): Iterable<T>;
|
|
28
|
-
values(): Iterable<T>;
|
|
29
|
-
entries(): Iterable<[T, T]>;
|
|
30
|
-
forEach(f: ((arg0: T, arg1: T, arg2: ISet<T>) => void), thisArg?: Option<any>): void;
|
|
31
|
-
}
|
|
32
|
-
export declare function HashSet_$reflection(gen0: TypeInfo): TypeInfo;
|
|
33
|
-
export declare function HashSet_$ctor_Z6150332D<T>(items: Iterable<T>, comparer: IEqualityComparer<T>): HashSet<T>;
|
|
34
|
-
export declare function HashSet__get_Comparer<T>(this$: HashSet<T>): IEqualityComparer<T>;
|
|
35
|
-
export declare function HashSet__Clear<T>(this$: HashSet<T>): void;
|
|
36
|
-
export declare function HashSet__get_Count<T>(this$: HashSet<T>): int32;
|
|
37
|
-
export declare function HashSet__Add_2B595<T>(this$: HashSet<T>, k: T): boolean;
|
|
38
|
-
export declare function HashSet__Contains_2B595<T>(this$: HashSet<T>, k: T): boolean;
|
|
39
|
-
export declare function HashSet__Remove_2B595<T>(this$: HashSet<T>, k: T): boolean;
|
package/Native.d.ts
DELETED
package/Numeric.d.ts
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { IComparable } from "./Util.js";
|
|
2
|
-
export declare const symbol: unique symbol;
|
|
3
|
-
export interface CustomNumeric extends IComparable<Numeric> {
|
|
4
|
-
[symbol](): {
|
|
5
|
-
multiply(y: Numeric): Numeric;
|
|
6
|
-
toPrecision(sd?: number): string;
|
|
7
|
-
toExponential(dp?: number): string;
|
|
8
|
-
toFixed(dp?: number): string;
|
|
9
|
-
toHex(): string;
|
|
10
|
-
};
|
|
11
|
-
}
|
|
12
|
-
export type Numeric = number | bigint | CustomNumeric;
|
|
13
|
-
export declare function isNumeric(x: any): any;
|
|
14
|
-
export declare function isIntegral(x: Numeric): boolean;
|
|
15
|
-
export declare function compare(x: Numeric, y: number): number;
|
|
16
|
-
export declare function multiply(x: Numeric, y: number): Numeric;
|
|
17
|
-
export declare function toFixed(x: Numeric, dp?: number): string;
|
|
18
|
-
export declare function toPrecision(x: Numeric, sd?: number): string;
|
|
19
|
-
export declare function toExponential(x: Numeric, dp?: number): string | bigint;
|
|
20
|
-
export declare function toHex(x: Numeric): string;
|
package/Observable.d.ts
DELETED
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { FSharpChoice$2_$union } from "./Choice.js";
|
|
2
|
-
import { Option } from "./Option.js";
|
|
3
|
-
import { IDisposable } from "./Util.js";
|
|
4
|
-
export interface IObserver<T> {
|
|
5
|
-
OnNext: (x: T) => void;
|
|
6
|
-
OnError: (e: any) => void;
|
|
7
|
-
OnCompleted: () => void;
|
|
8
|
-
}
|
|
9
|
-
export declare class Observer<T> implements IObserver<T> {
|
|
10
|
-
OnNext: (x: T) => void;
|
|
11
|
-
OnError: (e: any) => void;
|
|
12
|
-
OnCompleted: () => void;
|
|
13
|
-
constructor(onNext: (x: T) => void, onError?: (e: any) => void, onCompleted?: () => void);
|
|
14
|
-
}
|
|
15
|
-
export interface IObservable<T> {
|
|
16
|
-
Subscribe: (o: IObserver<T>) => IDisposable;
|
|
17
|
-
}
|
|
18
|
-
declare class Observable<T> implements IObservable<T> {
|
|
19
|
-
Subscribe: (o: IObserver<T>) => IDisposable;
|
|
20
|
-
constructor(subscribe: (o: IObserver<T>) => IDisposable);
|
|
21
|
-
}
|
|
22
|
-
export declare function add<T>(callback: (x: T) => void, source: IObservable<T>): void;
|
|
23
|
-
export declare function choose<T, U>(chooser: (x: T) => Option<U>, source: IObservable<T>): Observable<U>;
|
|
24
|
-
export declare function filter<T>(predicate: (x: T) => boolean, source: IObservable<T>): IObservable<T>;
|
|
25
|
-
export declare function map<T, U>(mapping: (x: T) => U, source: IObservable<T>): IObservable<U>;
|
|
26
|
-
export declare function merge<T>(source1: IObservable<T>, source2: IObservable<T>): IObservable<T>;
|
|
27
|
-
export declare function pairwise<T>(source: IObservable<T>): IObservable<[T, T]>;
|
|
28
|
-
export declare function partition<T>(predicate: (x: T) => boolean, source: IObservable<T>): [Observable<T>, Observable<T>];
|
|
29
|
-
export declare function scan<U, T>(collector: (u: U, t: T) => U, state: U, source: IObservable<T>): IObservable<U>;
|
|
30
|
-
export declare function split<T, U1, U2>(splitter: (x: T) => FSharpChoice$2_$union<U1, U2>, source: IObservable<T>): [Observable<U1>, Observable<U2>];
|
|
31
|
-
export declare function subscribe<T>(callback: (x: T) => void, source: IObservable<T>): IDisposable;
|
|
32
|
-
export {};
|
package/Option.d.ts
DELETED
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { Nullable } from "./Util.js";
|
|
2
|
-
export type Option<T> = T | Some<T> | undefined;
|
|
3
|
-
export declare class Some<T> {
|
|
4
|
-
value: T;
|
|
5
|
-
constructor(value: T);
|
|
6
|
-
toJSON(): T;
|
|
7
|
-
toString(): string;
|
|
8
|
-
GetHashCode(): number;
|
|
9
|
-
Equals(other: Option<T>): boolean;
|
|
10
|
-
CompareTo(other: Option<T>): number;
|
|
11
|
-
}
|
|
12
|
-
export declare function nonNullValue<T>(x: Nullable<T>): T;
|
|
13
|
-
export declare function value<T>(x: Option<T>): T;
|
|
14
|
-
export declare function unwrap<T>(opt: Option<T>): T | undefined;
|
|
15
|
-
export declare function some<T>(x: T): Option<T>;
|
|
16
|
-
export declare function ofNullable<T>(x: Nullable<T>): Option<T>;
|
|
17
|
-
export declare function toNullable<T>(x: Option<T>): Nullable<T>;
|
|
18
|
-
export declare function flatten<T>(x: Option<Option<T>>): T | Some<T> | undefined;
|
|
19
|
-
export declare function toArray<T>(opt: Option<T>): T[];
|
|
20
|
-
export declare function defaultArg<T>(opt: Option<T>, defaultValue: T): T;
|
|
21
|
-
export declare function defaultArgWith<T>(opt: Option<T>, defThunk: () => T): T;
|
|
22
|
-
export declare function orElse<T>(opt: Option<T>, ifNone: Option<T>): Option<T>;
|
|
23
|
-
export declare function orElseWith<T>(opt: Option<T>, ifNoneThunk: () => Option<T>): Option<T>;
|
|
24
|
-
export declare function filter<T>(predicate: (arg: T) => boolean, opt: Option<T>): Option<T>;
|
|
25
|
-
export declare function map<T, U>(mapping: (arg: T) => U, opt: Option<T>): Option<U>;
|
|
26
|
-
export declare function map2<T1, T2, U>(mapping: (arg1: T1, arg2: T2) => Option<U>, opt1: Option<T1>, opt2: Option<T2>): Option<U>;
|
|
27
|
-
export declare function map3<T1, T2, T3, U>(mapping: (arg1: T1, arg2: T2, arg3: T3) => Option<U>, opt1: Option<T1>, opt2: Option<T2>, opt3: Option<T3>): Option<U>;
|
|
28
|
-
export declare function bind<T, U>(binder: (arg: T) => Option<U>, opt: Option<T>): Option<U>;
|
|
29
|
-
export declare function tryOp<T, U>(op: (x: T) => U, arg: T): Option<U>;
|