@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/Seq.d.ts
DELETED
|
@@ -1,165 +0,0 @@
|
|
|
1
|
-
import { IComparer, IEqualityComparer, IDisposable, IEnumerator } from "./Util.js";
|
|
2
|
-
import { TypeInfo } from "./Reflection.js";
|
|
3
|
-
import { Option } from "./Option.js";
|
|
4
|
-
import { FSharpList } from "./List.js";
|
|
5
|
-
import { int32 } from "./Int32.js";
|
|
6
|
-
export declare const SR_enumerationAlreadyFinished = "Enumeration already finished.";
|
|
7
|
-
export declare const SR_enumerationNotStarted = "Enumeration has not started. Call MoveNext.";
|
|
8
|
-
export declare const SR_inputSequenceEmpty = "The input sequence was empty.";
|
|
9
|
-
export declare const SR_inputSequenceTooLong = "The input sequence contains more than one element.";
|
|
10
|
-
export declare const SR_keyNotFoundAlt = "An index satisfying the predicate was not found in the collection.";
|
|
11
|
-
export declare const SR_notEnoughElements = "The input sequence has an insufficient number of elements.";
|
|
12
|
-
export declare const SR_resetNotSupported = "Reset is not supported on this enumerator.";
|
|
13
|
-
export declare function Enumerator_noReset<$a>(): $a;
|
|
14
|
-
export declare function Enumerator_notStarted<$a>(): $a;
|
|
15
|
-
export declare function Enumerator_alreadyFinished<$a>(): $a;
|
|
16
|
-
export declare class Enumerator_Seq<T> implements Iterable<T> {
|
|
17
|
-
readonly f: (() => IEnumerator<T>);
|
|
18
|
-
constructor(f: (() => IEnumerator<T>));
|
|
19
|
-
toString(): string;
|
|
20
|
-
GetEnumerator(): IEnumerator<T>;
|
|
21
|
-
[Symbol.iterator](): Iterator<T>;
|
|
22
|
-
"System.Collections.IEnumerable.GetEnumerator"(): IEnumerator<any>;
|
|
23
|
-
}
|
|
24
|
-
export declare function Enumerator_Seq_$reflection(gen0: TypeInfo): TypeInfo;
|
|
25
|
-
export declare function Enumerator_Seq_$ctor_673A07F2<T>(f: (() => IEnumerator<T>)): Enumerator_Seq<T>;
|
|
26
|
-
export declare class Enumerator_FromFunctions$1<T> implements IEnumerator<T>, IDisposable {
|
|
27
|
-
readonly next: (() => boolean);
|
|
28
|
-
readonly dispose: (() => void);
|
|
29
|
-
readonly current: (() => T);
|
|
30
|
-
constructor(current: (() => T), next: (() => boolean), dispose: (() => void));
|
|
31
|
-
"System.Collections.Generic.IEnumerator`1.get_Current"(): T;
|
|
32
|
-
"System.Collections.IEnumerator.get_Current"(): any;
|
|
33
|
-
"System.Collections.IEnumerator.MoveNext"(): boolean;
|
|
34
|
-
"System.Collections.IEnumerator.Reset"(): void;
|
|
35
|
-
Dispose(): void;
|
|
36
|
-
}
|
|
37
|
-
export declare function Enumerator_FromFunctions$1_$reflection(gen0: TypeInfo): TypeInfo;
|
|
38
|
-
export declare function Enumerator_FromFunctions$1_$ctor_58C54629<T>(current: (() => T), next: (() => boolean), dispose: (() => void)): Enumerator_FromFunctions$1<T>;
|
|
39
|
-
export declare function Enumerator_cast<T>(e: IEnumerator<T>): IEnumerator<T>;
|
|
40
|
-
export declare function Enumerator_concat<T, U extends Iterable<T>>(sources: Iterable<U>): IEnumerator<T>;
|
|
41
|
-
export declare function Enumerator_enumerateThenFinally<T>(f: (() => void), e: IEnumerator<T>): IEnumerator<T>;
|
|
42
|
-
export declare function Enumerator_generateWhileSome<T, U>(openf: (() => T), compute: ((arg0: T) => Option<U>), closef: ((arg0: T) => void)): IEnumerator<U>;
|
|
43
|
-
export declare function Enumerator_unfold<State, T>(f: ((arg0: State) => Option<[T, State]>), state: State): IEnumerator<T>;
|
|
44
|
-
export declare function indexNotFound<$a>(): $a;
|
|
45
|
-
export declare function checkNonNull<$a>(argName: string, arg: $a): void;
|
|
46
|
-
export declare function mkSeq<T>(f: (() => IEnumerator<T>)): Iterable<T>;
|
|
47
|
-
export declare function ofSeq<T>(xs: Iterable<T>): IEnumerator<T>;
|
|
48
|
-
export declare function delay<T>(generator: (() => Iterable<T>)): Iterable<T>;
|
|
49
|
-
export declare function concat<Collection extends Iterable<T>, T>(sources: Iterable<Collection>): Iterable<T>;
|
|
50
|
-
export declare function unfold<State, T>(generator: ((arg0: State) => Option<[T, State]>), state: State): Iterable<T>;
|
|
51
|
-
export declare function empty<T>(): Iterable<T>;
|
|
52
|
-
export declare function singleton<T>(x: T): Iterable<T>;
|
|
53
|
-
export declare function ofArray<T>(arr: T[]): Iterable<T>;
|
|
54
|
-
export declare function toArray<T>(xs: Iterable<T>): T[];
|
|
55
|
-
export declare function ofList<T>(xs: FSharpList<T>): Iterable<T>;
|
|
56
|
-
export declare function toList<T>(xs: Iterable<T>): FSharpList<T>;
|
|
57
|
-
export declare function generate<$a, $b>(create: (() => $a), compute: ((arg0: $a) => Option<$b>), dispose: ((arg0: $a) => void)): Iterable<$b>;
|
|
58
|
-
export declare function generateIndexed<$a, $b>(create: (() => $a), compute: ((arg0: int32, arg1: $a) => Option<$b>), dispose: ((arg0: $a) => void)): Iterable<$b>;
|
|
59
|
-
export declare function append<T>(xs: Iterable<T>, ys: Iterable<T>): Iterable<T>;
|
|
60
|
-
export declare function cast<T>(xs: Iterable<T>): Iterable<T>;
|
|
61
|
-
export declare function choose<T, U>(chooser: ((arg0: T) => Option<U>), xs: Iterable<T>): Iterable<U>;
|
|
62
|
-
export declare function compareWith<T>(comparer: ((arg0: T, arg1: T) => int32), xs: Iterable<T>, ys: Iterable<T>): int32;
|
|
63
|
-
export declare function contains<T>(value: T, xs: Iterable<T>, comparer: IEqualityComparer<T>): boolean;
|
|
64
|
-
export declare function enumerateFromFunctions<$a, $b>(create: (() => $a), moveNext: ((arg0: $a) => boolean), current: ((arg0: $a) => $b)): Iterable<$b>;
|
|
65
|
-
export declare function enumerateThenFinally<T>(source: Iterable<T>, compensation: (() => void)): Iterable<T>;
|
|
66
|
-
export declare function enumerateUsing<T extends IDisposable, $a extends Iterable<U>, U>(resource: T, source: ((arg0: T) => $a)): Iterable<U>;
|
|
67
|
-
export declare function enumerateWhile<T>(guard: (() => boolean), xs: Iterable<T>): Iterable<T>;
|
|
68
|
-
export declare function filter<T>(f: ((arg0: T) => boolean), xs: Iterable<T>): Iterable<T>;
|
|
69
|
-
export declare function exists<T>(predicate: ((arg0: T) => boolean), xs: Iterable<T>): boolean;
|
|
70
|
-
export declare function exists2<T1, T2>(predicate: ((arg0: T1, arg1: T2) => boolean), xs: Iterable<T1>, ys: Iterable<T2>): boolean;
|
|
71
|
-
export declare function exactlyOne<T>(xs: Iterable<T>): T;
|
|
72
|
-
export declare function tryExactlyOne<T>(xs: Iterable<T>): Option<T>;
|
|
73
|
-
export declare function tryFind<T>(predicate: ((arg0: T) => boolean), xs: Iterable<T>): Option<T>;
|
|
74
|
-
export declare function find<T>(predicate: ((arg0: T) => boolean), xs: Iterable<T>): T;
|
|
75
|
-
export declare function tryFindBack<T>(predicate: ((arg0: T) => boolean), xs: Iterable<T>): Option<T>;
|
|
76
|
-
export declare function findBack<T>(predicate: ((arg0: T) => boolean), xs: Iterable<T>): T;
|
|
77
|
-
export declare function tryFindIndex<T>(predicate: ((arg0: T) => boolean), xs: Iterable<T>): Option<int32>;
|
|
78
|
-
export declare function findIndex<T>(predicate: ((arg0: T) => boolean), xs: Iterable<T>): int32;
|
|
79
|
-
export declare function tryFindIndexBack<T>(predicate: ((arg0: T) => boolean), xs: Iterable<T>): Option<int32>;
|
|
80
|
-
export declare function findIndexBack<T>(predicate: ((arg0: T) => boolean), xs: Iterable<T>): int32;
|
|
81
|
-
export declare function fold<T, State>(folder: ((arg0: State, arg1: T) => State), state: State, xs: Iterable<T>): State;
|
|
82
|
-
export declare function foldBack<T, State>(folder: ((arg0: T, arg1: any) => any), xs: Iterable<T>, state: any): any;
|
|
83
|
-
export declare function fold2<T1, T2, State>(folder: ((arg0: State, arg1: T1, arg2: T2) => State), state: State, xs: Iterable<T1>, ys: Iterable<T2>): State;
|
|
84
|
-
export declare function foldBack2<T1, T2, State>(folder: ((arg0: T1, arg1: T2, arg2: State) => State), xs: Iterable<T1>, ys: Iterable<T2>, state: State): State;
|
|
85
|
-
export declare function forAll<$a>(predicate: ((arg0: $a) => boolean), xs: Iterable<$a>): boolean;
|
|
86
|
-
export declare function forAll2<$a, $b>(predicate: ((arg0: $a, arg1: $b) => boolean), xs: Iterable<$a>, ys: Iterable<$b>): boolean;
|
|
87
|
-
export declare function tryHead<T>(xs: Iterable<T>): Option<T>;
|
|
88
|
-
export declare function head<T>(xs: Iterable<T>): T;
|
|
89
|
-
export declare function initialize<$a>(count: int32, f: ((arg0: int32) => $a)): Iterable<$a>;
|
|
90
|
-
export declare function initializeInfinite<$a>(f: ((arg0: int32) => $a)): Iterable<$a>;
|
|
91
|
-
export declare function isEmpty<T>(xs: Iterable<T>): boolean;
|
|
92
|
-
export declare function tryItem<T>(index: int32, xs: Iterable<T>): Option<T>;
|
|
93
|
-
export declare function item<T>(index: int32, xs: Iterable<T>): T;
|
|
94
|
-
export declare function iterate<$a>(action: ((arg0: $a) => void), xs: Iterable<$a>): void;
|
|
95
|
-
export declare function iterate2<$a, $b>(action: ((arg0: $a, arg1: $b) => void), xs: Iterable<$a>, ys: Iterable<$b>): void;
|
|
96
|
-
export declare function iterateIndexed<$a>(action: ((arg0: int32, arg1: $a) => void), xs: Iterable<$a>): void;
|
|
97
|
-
export declare function iterateIndexed2<$a, $b>(action: ((arg0: int32, arg1: $a, arg2: $b) => void), xs: Iterable<$a>, ys: Iterable<$b>): void;
|
|
98
|
-
export declare function tryLast<T>(xs: Iterable<T>): Option<T>;
|
|
99
|
-
export declare function last<T>(xs: Iterable<T>): T;
|
|
100
|
-
export declare function length<T>(xs: Iterable<T>): int32;
|
|
101
|
-
export declare function map<T, U>(mapping: ((arg0: T) => U), xs: Iterable<T>): Iterable<U>;
|
|
102
|
-
export declare function mapIndexed<T, U>(mapping: ((arg0: int32, arg1: T) => U), xs: Iterable<T>): Iterable<U>;
|
|
103
|
-
export declare function indexed<T>(xs: Iterable<T>): Iterable<[int32, T]>;
|
|
104
|
-
export declare function map2<T1, T2, U>(mapping: ((arg0: T1, arg1: T2) => U), xs: Iterable<T1>, ys: Iterable<T2>): Iterable<U>;
|
|
105
|
-
export declare function mapIndexed2<T1, T2, U>(mapping: ((arg0: int32, arg1: T1, arg2: T2) => U), xs: Iterable<T1>, ys: Iterable<T2>): Iterable<U>;
|
|
106
|
-
export declare function map3<T1, T2, T3, U>(mapping: ((arg0: T1, arg1: T2, arg2: T3) => U), xs: Iterable<T1>, ys: Iterable<T2>, zs: Iterable<T3>): Iterable<U>;
|
|
107
|
-
export declare function readOnly<T>(xs: Iterable<T>): Iterable<T>;
|
|
108
|
-
export declare class CachedSeq$1<T> implements Iterable<T>, IDisposable {
|
|
109
|
-
readonly res: Iterable<T>;
|
|
110
|
-
readonly cleanup: (() => void);
|
|
111
|
-
constructor(cleanup: (() => void), res: Iterable<T>);
|
|
112
|
-
Dispose(): void;
|
|
113
|
-
GetEnumerator(): IEnumerator<T>;
|
|
114
|
-
[Symbol.iterator](): Iterator<T>;
|
|
115
|
-
"System.Collections.IEnumerable.GetEnumerator"(): IEnumerator<any>;
|
|
116
|
-
}
|
|
117
|
-
export declare function CachedSeq$1_$reflection(gen0: TypeInfo): TypeInfo;
|
|
118
|
-
export declare function CachedSeq$1_$ctor_Z7A8347D4<T>(cleanup: (() => void), res: Iterable<T>): CachedSeq$1<T>;
|
|
119
|
-
export declare function CachedSeq$1__Clear<T>(_: CachedSeq$1<T>): void;
|
|
120
|
-
export declare function cache<T>(source: Iterable<T>): Iterable<T>;
|
|
121
|
-
export declare function allPairs<T1, T2>(xs: Iterable<T1>, ys: Iterable<T2>): Iterable<[T1, T2]>;
|
|
122
|
-
export declare function mapFold<State, T, Result>(mapping: ((arg0: State, arg1: T) => [Result, State]), state: State, xs: Iterable<T>): [Iterable<Result>, State];
|
|
123
|
-
export declare function mapFoldBack<T, State, Result>(mapping: ((arg0: T, arg1: State) => [Result, State]), xs: Iterable<T>, state: State): [Iterable<Result>, State];
|
|
124
|
-
export declare function tryPick<T, $a>(chooser: ((arg0: T) => Option<$a>), xs: Iterable<T>): Option<$a>;
|
|
125
|
-
export declare function pick<T, $a>(chooser: ((arg0: T) => Option<$a>), xs: Iterable<T>): $a;
|
|
126
|
-
export declare function reduce<T>(folder: ((arg0: T, arg1: T) => T), xs: Iterable<T>): T;
|
|
127
|
-
export declare function reduceBack<T>(folder: ((arg0: T, arg1: T) => T), xs: Iterable<T>): T;
|
|
128
|
-
export declare function replicate<$a>(n: int32, x: $a): Iterable<$a>;
|
|
129
|
-
export declare function reverse<T>(xs: Iterable<T>): Iterable<T>;
|
|
130
|
-
export declare function scan<State, T>(folder: ((arg0: State, arg1: T) => State), state: State, xs: Iterable<T>): Iterable<State>;
|
|
131
|
-
export declare function scanBack<T, State>(folder: ((arg0: T, arg1: State) => State), xs: Iterable<T>, state: State): Iterable<State>;
|
|
132
|
-
export declare function skip<T>(count: int32, source: Iterable<T>): Iterable<T>;
|
|
133
|
-
export declare function skipWhile<T>(predicate: ((arg0: T) => boolean), xs: Iterable<T>): Iterable<T>;
|
|
134
|
-
export declare function tail<T>(xs: Iterable<T>): Iterable<T>;
|
|
135
|
-
export declare function take<T>(count: int32, xs: Iterable<T>): Iterable<T>;
|
|
136
|
-
export declare function takeWhile<T>(predicate: ((arg0: T) => boolean), xs: Iterable<T>): Iterable<T>;
|
|
137
|
-
export declare function truncate<T>(count: int32, xs: Iterable<T>): Iterable<T>;
|
|
138
|
-
export declare function zip<T1, T2>(xs: Iterable<T1>, ys: Iterable<T2>): Iterable<[T1, T2]>;
|
|
139
|
-
export declare function zip3<T1, T2, T3>(xs: Iterable<T1>, ys: Iterable<T2>, zs: Iterable<T3>): Iterable<[T1, T2, T3]>;
|
|
140
|
-
export declare function collect<T, Collection extends Iterable<U>, U>(mapping: ((arg0: T) => Collection), xs: Iterable<T>): Iterable<U>;
|
|
141
|
-
export declare function where<T>(predicate: ((arg0: T) => boolean), xs: Iterable<T>): Iterable<T>;
|
|
142
|
-
export declare function pairwise<T>(xs: Iterable<T>): Iterable<[T, T]>;
|
|
143
|
-
export declare function splitInto<T>(chunks: int32, xs: Iterable<T>): Iterable<T[]>;
|
|
144
|
-
export declare function windowed<T>(windowSize: int32, xs: Iterable<T>): Iterable<T[]>;
|
|
145
|
-
export declare function transpose<$a extends Iterable<T>, T>(xss: Iterable<$a>): Iterable<Iterable<T>>;
|
|
146
|
-
export declare function sortWith<T>(comparer: ((arg0: T, arg1: T) => int32), xs: Iterable<T>): Iterable<T>;
|
|
147
|
-
export declare function sort<T>(xs: Iterable<T>, comparer: IComparer<T>): Iterable<T>;
|
|
148
|
-
export declare function sortBy<T, U>(projection: ((arg0: T) => U), xs: Iterable<T>, comparer: IComparer<U>): Iterable<T>;
|
|
149
|
-
export declare function sortDescending<T>(xs: Iterable<T>, comparer: IComparer<T>): Iterable<T>;
|
|
150
|
-
export declare function sortByDescending<T, U>(projection: ((arg0: T) => U), xs: Iterable<T>, comparer: IComparer<U>): Iterable<T>;
|
|
151
|
-
export declare function sum<T>(xs: Iterable<T>, adder: any): T;
|
|
152
|
-
export declare function sumBy<T, U>(f: ((arg0: T) => U), xs: Iterable<T>, adder: any): U;
|
|
153
|
-
export declare function maxBy<T, U>(projection: ((arg0: T) => U), xs: Iterable<T>, comparer: IComparer<U>): T;
|
|
154
|
-
export declare function max<T>(xs: Iterable<T>, comparer: IComparer<T>): T;
|
|
155
|
-
export declare function minBy<T, U>(projection: ((arg0: T) => U), xs: Iterable<T>, comparer: IComparer<U>): T;
|
|
156
|
-
export declare function min<T>(xs: Iterable<T>, comparer: IComparer<T>): T;
|
|
157
|
-
export declare function average<T>(xs: Iterable<T>, averager: any): T;
|
|
158
|
-
export declare function averageBy<T, U>(f: ((arg0: T) => U), xs: Iterable<T>, averager: any): U;
|
|
159
|
-
export declare function permute<T>(f: ((arg0: int32) => int32), xs: Iterable<T>): Iterable<T>;
|
|
160
|
-
export declare function chunkBySize<T>(chunkSize: int32, xs: Iterable<T>): Iterable<T[]>;
|
|
161
|
-
export declare function insertAt<T>(index: int32, y: T, xs: Iterable<T>): Iterable<T>;
|
|
162
|
-
export declare function insertManyAt<T>(index: int32, ys: Iterable<T>, xs: Iterable<T>): Iterable<T>;
|
|
163
|
-
export declare function removeAt<T>(index: int32, xs: Iterable<T>): Iterable<T>;
|
|
164
|
-
export declare function removeManyAt<T>(index: int32, count: int32, xs: Iterable<T>): Iterable<T>;
|
|
165
|
-
export declare function updateAt<T>(index: int32, y: T, xs: Iterable<T>): Iterable<T>;
|
package/Seq2.d.ts
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { IEqualityComparer } from "./Util.js";
|
|
2
|
-
import { int32 } from "./Int32.js";
|
|
3
|
-
import { FSharpList } from "./List.js";
|
|
4
|
-
export declare function distinct<T>(xs: Iterable<T>, comparer: IEqualityComparer<T>): Iterable<T>;
|
|
5
|
-
export declare function distinctBy<T, Key>(projection: ((arg0: T) => Key), xs: Iterable<T>, comparer: IEqualityComparer<Key>): Iterable<T>;
|
|
6
|
-
export declare function except<T>(itemsToExclude: Iterable<T>, xs: Iterable<T>, comparer: IEqualityComparer<T>): Iterable<T>;
|
|
7
|
-
export declare function countBy<T, Key>(projection: ((arg0: T) => Key), xs: Iterable<T>, comparer: IEqualityComparer<Key>): Iterable<[Key, int32]>;
|
|
8
|
-
export declare function groupBy<T, Key>(projection: ((arg0: T) => Key), xs: Iterable<T>, comparer: IEqualityComparer<Key>): Iterable<[Key, Iterable<T>]>;
|
|
9
|
-
export declare function Array_distinct<T>(xs: T[], comparer: IEqualityComparer<T>): T[];
|
|
10
|
-
export declare function Array_distinctBy<T, Key>(projection: ((arg0: T) => Key), xs: T[], comparer: IEqualityComparer<Key>): T[];
|
|
11
|
-
export declare function Array_except<T>(itemsToExclude: Iterable<T>, xs: T[], comparer: IEqualityComparer<T>): T[];
|
|
12
|
-
export declare function Array_countBy<T, Key>(projection: ((arg0: T) => Key), xs: T[], comparer: IEqualityComparer<Key>): [Key, int32][];
|
|
13
|
-
export declare function Array_groupBy<T, Key>(projection: ((arg0: T) => Key), xs: T[], comparer: IEqualityComparer<Key>): [Key, T[]][];
|
|
14
|
-
export declare function List_distinct<T>(xs: FSharpList<T>, comparer: IEqualityComparer<T>): FSharpList<T>;
|
|
15
|
-
export declare function List_distinctBy<T, Key>(projection: ((arg0: T) => Key), xs: FSharpList<T>, comparer: IEqualityComparer<Key>): FSharpList<T>;
|
|
16
|
-
export declare function List_except<T>(itemsToExclude: Iterable<T>, xs: FSharpList<T>, comparer: IEqualityComparer<T>): FSharpList<T>;
|
|
17
|
-
export declare function List_countBy<T, Key>(projection: ((arg0: T) => Key), xs: FSharpList<T>, comparer: IEqualityComparer<Key>): FSharpList<[Key, int32]>;
|
|
18
|
-
export declare function List_groupBy<T, Key>(projection: ((arg0: T) => Key), xs: FSharpList<T>, comparer: IEqualityComparer<Key>): FSharpList<[Key, FSharpList<T>]>;
|
package/Set.d.ts
DELETED
|
@@ -1,190 +0,0 @@
|
|
|
1
|
-
import { TypeInfo } from "./Reflection.js";
|
|
2
|
-
import { Option } from "./Option.js";
|
|
3
|
-
import { int32 } from "./Int32.js";
|
|
4
|
-
import { ISet, IEnumerator, IComparer } from "./Util.js";
|
|
5
|
-
import { Record } from "./Types.js";
|
|
6
|
-
import { FSharpList } from "./List.js";
|
|
7
|
-
export declare class SetTreeLeaf$1<T> {
|
|
8
|
-
readonly k: T;
|
|
9
|
-
constructor(k: T);
|
|
10
|
-
}
|
|
11
|
-
export declare function SetTreeLeaf$1_$reflection(gen0: TypeInfo): TypeInfo;
|
|
12
|
-
export declare function SetTreeLeaf$1_$ctor_2B595<T>(k: T): SetTreeLeaf$1<T>;
|
|
13
|
-
export declare function SetTreeLeaf$1__get_Key<T>(_: SetTreeLeaf$1<T>): T;
|
|
14
|
-
export declare class SetTreeNode$1<T> extends SetTreeLeaf$1<T> {
|
|
15
|
-
readonly right: Option<SetTreeLeaf$1<T>>;
|
|
16
|
-
readonly left: Option<SetTreeLeaf$1<T>>;
|
|
17
|
-
readonly h: int32;
|
|
18
|
-
constructor(v: T, left: Option<SetTreeLeaf$1<T>>, right: Option<SetTreeLeaf$1<T>>, h: int32);
|
|
19
|
-
}
|
|
20
|
-
export declare function SetTreeNode$1_$reflection(gen0: TypeInfo): TypeInfo;
|
|
21
|
-
export declare function SetTreeNode$1_$ctor_5F465FC9<T>(v: T, left: Option<SetTreeLeaf$1<T>>, right: Option<SetTreeLeaf$1<T>>, h: int32): SetTreeNode$1<T>;
|
|
22
|
-
export declare function SetTreeNode$1__get_Left<T>(_: SetTreeNode$1<T>): Option<SetTreeLeaf$1<T>>;
|
|
23
|
-
export declare function SetTreeNode$1__get_Right<T>(_: SetTreeNode$1<T>): Option<SetTreeLeaf$1<T>>;
|
|
24
|
-
export declare function SetTreeNode$1__get_Height<T>(_: SetTreeNode$1<T>): int32;
|
|
25
|
-
export declare function SetTreeModule_empty<T>(): Option<SetTreeLeaf$1<T>>;
|
|
26
|
-
export declare function SetTreeModule_countAux<T>(t_mut: Option<SetTreeLeaf$1<T>>, acc_mut: int32): int32;
|
|
27
|
-
export declare function SetTreeModule_count<$a>(s: Option<SetTreeLeaf$1<$a>>): int32;
|
|
28
|
-
export declare function SetTreeModule_mk<T>(l: Option<SetTreeLeaf$1<T>>, k: T, r: Option<SetTreeLeaf$1<T>>): Option<SetTreeLeaf$1<T>>;
|
|
29
|
-
export declare function SetTreeModule_rebalance<T>(t1: Option<SetTreeLeaf$1<T>>, v: T, t2: Option<SetTreeLeaf$1<T>>): Option<SetTreeLeaf$1<T>>;
|
|
30
|
-
export declare function SetTreeModule_add<T>(comparer: IComparer<T>, k: T, t: Option<SetTreeLeaf$1<T>>): Option<SetTreeLeaf$1<T>>;
|
|
31
|
-
export declare function SetTreeModule_balance<T>(comparer: IComparer<T>, t1: Option<SetTreeLeaf$1<T>>, k: T, t2: Option<SetTreeLeaf$1<T>>): Option<SetTreeLeaf$1<T>>;
|
|
32
|
-
export declare function SetTreeModule_split<T>(comparer: IComparer<T>, pivot: T, t: Option<SetTreeLeaf$1<T>>): [Option<SetTreeLeaf$1<T>>, boolean, Option<SetTreeLeaf$1<T>>];
|
|
33
|
-
export declare function SetTreeModule_spliceOutSuccessor<T>(t: Option<SetTreeLeaf$1<T>>): [T, Option<SetTreeLeaf$1<T>>];
|
|
34
|
-
export declare function SetTreeModule_remove<T>(comparer: IComparer<T>, k: T, t: Option<SetTreeLeaf$1<T>>): Option<SetTreeLeaf$1<T>>;
|
|
35
|
-
export declare function SetTreeModule_mem<T>(comparer_mut: IComparer<T>, k_mut: T, t_mut: Option<SetTreeLeaf$1<T>>): boolean;
|
|
36
|
-
export declare function SetTreeModule_iter<T>(f_mut: ((arg0: T) => void), t_mut: Option<SetTreeLeaf$1<T>>): void;
|
|
37
|
-
export declare function SetTreeModule_foldBackOpt<T, $a>(f_mut: any, t_mut: Option<SetTreeLeaf$1<T>>, x_mut: $a): $a;
|
|
38
|
-
export declare function SetTreeModule_foldBack<$a, $b>(f: ((arg0: $a, arg1: $b) => $b), m: Option<SetTreeLeaf$1<$a>>, x: $b): $b;
|
|
39
|
-
export declare function SetTreeModule_foldOpt<$a, T>(f_mut: any, x_mut: $a, t_mut: Option<SetTreeLeaf$1<T>>): $a;
|
|
40
|
-
export declare function SetTreeModule_fold<$a, $b>(f: ((arg0: $a, arg1: $b) => $a), x: $a, m: Option<SetTreeLeaf$1<$b>>): $a;
|
|
41
|
-
export declare function SetTreeModule_forall<T>(f_mut: ((arg0: T) => boolean), t_mut: Option<SetTreeLeaf$1<T>>): boolean;
|
|
42
|
-
export declare function SetTreeModule_exists<T>(f_mut: ((arg0: T) => boolean), t_mut: Option<SetTreeLeaf$1<T>>): boolean;
|
|
43
|
-
export declare function SetTreeModule_subset<$a>(comparer: IComparer<$a>, a: Option<SetTreeLeaf$1<$a>>, b: Option<SetTreeLeaf$1<$a>>): boolean;
|
|
44
|
-
export declare function SetTreeModule_properSubset<$a>(comparer: IComparer<$a>, a: Option<SetTreeLeaf$1<$a>>, b: Option<SetTreeLeaf$1<$a>>): boolean;
|
|
45
|
-
export declare function SetTreeModule_filterAux<T>(comparer_mut: IComparer<T>, f_mut: ((arg0: T) => boolean), t_mut: Option<SetTreeLeaf$1<T>>, acc_mut: Option<SetTreeLeaf$1<T>>): Option<SetTreeLeaf$1<T>>;
|
|
46
|
-
export declare function SetTreeModule_filter<$a>(comparer: IComparer<$a>, f: ((arg0: $a) => boolean), s: Option<SetTreeLeaf$1<$a>>): Option<SetTreeLeaf$1<$a>>;
|
|
47
|
-
export declare function SetTreeModule_diffAux<T>(comparer_mut: IComparer<T>, t_mut: Option<SetTreeLeaf$1<T>>, acc_mut: Option<SetTreeLeaf$1<T>>): Option<SetTreeLeaf$1<T>>;
|
|
48
|
-
export declare function SetTreeModule_diff<$a>(comparer: IComparer<$a>, a: Option<SetTreeLeaf$1<$a>>, b: Option<SetTreeLeaf$1<$a>>): Option<SetTreeLeaf$1<$a>>;
|
|
49
|
-
export declare function SetTreeModule_union<T>(comparer: IComparer<T>, t1: Option<SetTreeLeaf$1<T>>, t2: Option<SetTreeLeaf$1<T>>): Option<SetTreeLeaf$1<T>>;
|
|
50
|
-
export declare function SetTreeModule_intersectionAux<T>(comparer_mut: IComparer<T>, b_mut: Option<SetTreeLeaf$1<T>>, t_mut: Option<SetTreeLeaf$1<T>>, acc_mut: Option<SetTreeLeaf$1<T>>): Option<SetTreeLeaf$1<T>>;
|
|
51
|
-
export declare function SetTreeModule_intersection<$a>(comparer: IComparer<$a>, a: Option<SetTreeLeaf$1<$a>>, b: Option<SetTreeLeaf$1<$a>>): Option<SetTreeLeaf$1<$a>>;
|
|
52
|
-
export declare function SetTreeModule_partition1<$a>(comparer: IComparer<$a>, f: ((arg0: $a) => boolean), k: $a, acc1: Option<SetTreeLeaf$1<$a>>, acc2: Option<SetTreeLeaf$1<$a>>): [Option<SetTreeLeaf$1<$a>>, Option<SetTreeLeaf$1<$a>>];
|
|
53
|
-
export declare function SetTreeModule_partitionAux<T>(comparer_mut: IComparer<T>, f_mut: ((arg0: T) => boolean), t_mut: Option<SetTreeLeaf$1<T>>, acc__mut: Option<SetTreeLeaf$1<T>>, acc__1_mut: Option<SetTreeLeaf$1<T>>): [Option<SetTreeLeaf$1<T>>, Option<SetTreeLeaf$1<T>>];
|
|
54
|
-
export declare function SetTreeModule_partition<$a>(comparer: IComparer<$a>, f: ((arg0: $a) => boolean), s: Option<SetTreeLeaf$1<$a>>): [Option<SetTreeLeaf$1<$a>>, Option<SetTreeLeaf$1<$a>>];
|
|
55
|
-
export declare function SetTreeModule_minimumElementAux<T>(t_mut: Option<SetTreeLeaf$1<T>>, n_mut: T): T;
|
|
56
|
-
export declare function SetTreeModule_minimumElementOpt<T>(t: Option<SetTreeLeaf$1<T>>): Option<T>;
|
|
57
|
-
export declare function SetTreeModule_maximumElementAux<T>(t_mut: Option<SetTreeLeaf$1<T>>, n_mut: T): T;
|
|
58
|
-
export declare function SetTreeModule_maximumElementOpt<T>(t: Option<SetTreeLeaf$1<T>>): Option<T>;
|
|
59
|
-
export declare function SetTreeModule_minimumElement<$a>(s: Option<SetTreeLeaf$1<$a>>): $a;
|
|
60
|
-
export declare function SetTreeModule_maximumElement<$a>(s: Option<SetTreeLeaf$1<$a>>): $a;
|
|
61
|
-
export declare class SetTreeModule_SetIterator$1<T> extends Record {
|
|
62
|
-
stack: FSharpList<Option<SetTreeLeaf$1<T>>>;
|
|
63
|
-
started: boolean;
|
|
64
|
-
constructor(stack: FSharpList<Option<SetTreeLeaf$1<T>>>, started: boolean);
|
|
65
|
-
}
|
|
66
|
-
export declare function SetTreeModule_SetIterator$1_$reflection(gen0: TypeInfo): TypeInfo;
|
|
67
|
-
export declare function SetTreeModule_collapseLHS<T>(stack_mut: FSharpList<Option<SetTreeLeaf$1<T>>>): FSharpList<Option<SetTreeLeaf$1<T>>>;
|
|
68
|
-
export declare function SetTreeModule_mkIterator<$a>(s: Option<SetTreeLeaf$1<$a>>): SetTreeModule_SetIterator$1<$a>;
|
|
69
|
-
export declare function SetTreeModule_notStarted<$a>(): $a;
|
|
70
|
-
export declare function SetTreeModule_alreadyFinished<$a>(): $a;
|
|
71
|
-
export declare function SetTreeModule_current<$a>(i: SetTreeModule_SetIterator$1<$a>): $a;
|
|
72
|
-
export declare function SetTreeModule_moveNext<T>(i: SetTreeModule_SetIterator$1<T>): boolean;
|
|
73
|
-
export declare function SetTreeModule_mkIEnumerator<a>(s: Option<SetTreeLeaf$1<a>>): IEnumerator<a>;
|
|
74
|
-
/**
|
|
75
|
-
* Set comparison. Note this can be expensive.
|
|
76
|
-
*/
|
|
77
|
-
export declare function SetTreeModule_compareStacks<T>(comparer_mut: IComparer<T>, l1_mut: FSharpList<Option<SetTreeLeaf$1<T>>>, l2_mut: FSharpList<Option<SetTreeLeaf$1<T>>>): int32;
|
|
78
|
-
export declare function SetTreeModule_compare<T>(comparer: IComparer<T>, t1: Option<SetTreeLeaf$1<T>>, t2: Option<SetTreeLeaf$1<T>>): int32;
|
|
79
|
-
export declare function SetTreeModule_choose<$a>(s: Option<SetTreeLeaf$1<$a>>): $a;
|
|
80
|
-
export declare function SetTreeModule_toList<T>(t: Option<SetTreeLeaf$1<T>>): FSharpList<T>;
|
|
81
|
-
export declare function SetTreeModule_copyToArray<$a>(s: Option<SetTreeLeaf$1<$a>>, arr: $a[], i: int32): void;
|
|
82
|
-
export declare function SetTreeModule_toArray<$a>(s: Option<SetTreeLeaf$1<$a>>): $a[];
|
|
83
|
-
export declare function SetTreeModule_mkFromEnumerator<$a>(comparer_mut: IComparer<$a>, acc_mut: Option<SetTreeLeaf$1<$a>>, e_mut: IEnumerator<$a>): Option<SetTreeLeaf$1<$a>>;
|
|
84
|
-
export declare function SetTreeModule_ofArray<$a>(comparer: IComparer<$a>, l: $a[]): Option<SetTreeLeaf$1<$a>>;
|
|
85
|
-
export declare function SetTreeModule_ofList<$a>(comparer: IComparer<$a>, l: FSharpList<$a>): Option<SetTreeLeaf$1<$a>>;
|
|
86
|
-
export declare function SetTreeModule_ofSeq<T>(comparer: IComparer<T>, c: Iterable<T>): Option<SetTreeLeaf$1<T>>;
|
|
87
|
-
export declare class FSharpSet<T> implements ISet<T>, Iterable<T>, Iterable<T> {
|
|
88
|
-
readonly tree: Option<SetTreeLeaf$1<T>>;
|
|
89
|
-
readonly comparer: IComparer<T>;
|
|
90
|
-
constructor(comparer: IComparer<T>, tree: Option<SetTreeLeaf$1<T>>);
|
|
91
|
-
GetHashCode(): int32;
|
|
92
|
-
Equals(that: any): boolean;
|
|
93
|
-
toString(): string;
|
|
94
|
-
get [Symbol.toStringTag](): string;
|
|
95
|
-
toJSON(): any;
|
|
96
|
-
CompareTo(that: any): int32;
|
|
97
|
-
"System.Collections.Generic.ICollection`1.Add2B595"(x: T): void;
|
|
98
|
-
"System.Collections.Generic.ICollection`1.Clear"(): void;
|
|
99
|
-
"System.Collections.Generic.ICollection`1.Remove2B595"(x: T): boolean;
|
|
100
|
-
"System.Collections.Generic.ICollection`1.Contains2B595"(x: T): boolean;
|
|
101
|
-
"System.Collections.Generic.ICollection`1.CopyToZ3B4C077E"(arr: T[], i: int32): void;
|
|
102
|
-
"System.Collections.Generic.ICollection`1.get_IsReadOnly"(): boolean;
|
|
103
|
-
"System.Collections.Generic.ICollection`1.get_Count"(): int32;
|
|
104
|
-
"System.Collections.Generic.IReadOnlyCollection`1.get_Count"(): int32;
|
|
105
|
-
GetEnumerator(): IEnumerator<T>;
|
|
106
|
-
[Symbol.iterator](): Iterator<T>;
|
|
107
|
-
"System.Collections.IEnumerable.GetEnumerator"(): IEnumerator<any>;
|
|
108
|
-
get size(): int32;
|
|
109
|
-
add(k: T): ISet<T>;
|
|
110
|
-
clear(): void;
|
|
111
|
-
delete(k: T): boolean;
|
|
112
|
-
has(k: T): boolean;
|
|
113
|
-
keys(): Iterable<T>;
|
|
114
|
-
values(): Iterable<T>;
|
|
115
|
-
entries(): Iterable<[T, T]>;
|
|
116
|
-
forEach(f: ((arg0: T, arg1: T, arg2: ISet<T>) => void), thisArg?: Option<any>): void;
|
|
117
|
-
}
|
|
118
|
-
export declare function FSharpSet_$reflection(gen0: TypeInfo): TypeInfo;
|
|
119
|
-
export declare function FSharpSet_$ctor<T>(comparer: IComparer<T>, tree: Option<SetTreeLeaf$1<T>>): FSharpSet<T>;
|
|
120
|
-
export declare function FSharpSet__get_Comparer<T>(set$: FSharpSet<T>): IComparer<T>;
|
|
121
|
-
export declare function FSharpSet__get_Tree<T>(set$: FSharpSet<T>): Option<SetTreeLeaf$1<T>>;
|
|
122
|
-
export declare function FSharpSet_Empty<T>(comparer: IComparer<T>): FSharpSet<T>;
|
|
123
|
-
export declare function FSharpSet__Add<T>(s: FSharpSet<T>, value: T): FSharpSet<T>;
|
|
124
|
-
export declare function FSharpSet__Remove<T>(s: FSharpSet<T>, value: T): FSharpSet<T>;
|
|
125
|
-
export declare function FSharpSet__get_Count<T>(s: FSharpSet<T>): int32;
|
|
126
|
-
export declare function FSharpSet__Contains<T>(s: FSharpSet<T>, value: T): boolean;
|
|
127
|
-
export declare function FSharpSet__Iterate<T>(s: FSharpSet<T>, x: ((arg0: T) => void)): void;
|
|
128
|
-
export declare function FSharpSet__Fold<T, $a>(s: FSharpSet<T>, f: ((arg0: T, arg1: $a) => $a), z: $a): $a;
|
|
129
|
-
export declare function FSharpSet__get_IsEmpty<T>(s: FSharpSet<T>): boolean;
|
|
130
|
-
export declare function FSharpSet__Partition<T>(s: FSharpSet<T>, f: ((arg0: T) => boolean)): [FSharpSet<T>, FSharpSet<T>];
|
|
131
|
-
export declare function FSharpSet__Filter<T>(s: FSharpSet<T>, f: ((arg0: T) => boolean)): FSharpSet<T>;
|
|
132
|
-
export declare function FSharpSet__Map<T, U>(s: FSharpSet<T>, f: ((arg0: T) => U), comparer: IComparer<U>): FSharpSet<U>;
|
|
133
|
-
export declare function FSharpSet__Exists<T>(s: FSharpSet<T>, f: ((arg0: T) => boolean)): boolean;
|
|
134
|
-
export declare function FSharpSet__ForAll<T>(s: FSharpSet<T>, f: ((arg0: T) => boolean)): boolean;
|
|
135
|
-
export declare function FSharpSet_op_Subtraction<T>(set1: FSharpSet<T>, set2: FSharpSet<T>): FSharpSet<T>;
|
|
136
|
-
export declare function FSharpSet_op_Addition<T>(set1: FSharpSet<T>, set2: FSharpSet<T>): FSharpSet<T>;
|
|
137
|
-
export declare function FSharpSet_Intersection<T>(a: FSharpSet<T>, b: FSharpSet<T>): FSharpSet<T>;
|
|
138
|
-
export declare function FSharpSet_IntersectionMany<T>(sets: Iterable<FSharpSet<T>>): FSharpSet<T>;
|
|
139
|
-
export declare function FSharpSet_Equality<T>(a: FSharpSet<T>, b: FSharpSet<T>): boolean;
|
|
140
|
-
export declare function FSharpSet_Compare<T>(a: FSharpSet<T>, b: FSharpSet<T>): int32;
|
|
141
|
-
export declare function FSharpSet__get_Choose<T>(x: FSharpSet<T>): T;
|
|
142
|
-
export declare function FSharpSet__get_MinimumElement<T>(x: FSharpSet<T>): T;
|
|
143
|
-
export declare function FSharpSet__get_MaximumElement<T>(x: FSharpSet<T>): T;
|
|
144
|
-
export declare function FSharpSet__IsSubsetOf<T>(x: FSharpSet<T>, otherSet: FSharpSet<T>): boolean;
|
|
145
|
-
export declare function FSharpSet__IsSupersetOf<T>(x: FSharpSet<T>, otherSet: FSharpSet<T>): boolean;
|
|
146
|
-
export declare function FSharpSet__IsProperSubsetOf<T>(x: FSharpSet<T>, otherSet: FSharpSet<T>): boolean;
|
|
147
|
-
export declare function FSharpSet__IsProperSupersetOf<T>(x: FSharpSet<T>, otherSet: FSharpSet<T>): boolean;
|
|
148
|
-
export declare function FSharpSet__ToList<T>(x: FSharpSet<T>): FSharpList<T>;
|
|
149
|
-
export declare function FSharpSet__ToArray<T>(x: FSharpSet<T>): T[];
|
|
150
|
-
export declare function FSharpSet__ComputeHashCode<T>(this$: FSharpSet<T>): int32;
|
|
151
|
-
export declare function isEmpty<T>(set$: FSharpSet<T>): boolean;
|
|
152
|
-
export declare function contains<T>(element: T, set$: FSharpSet<T>): boolean;
|
|
153
|
-
export declare function add<T>(value: T, set$: FSharpSet<T>): FSharpSet<T>;
|
|
154
|
-
export declare function singleton<T>(value: T, comparer: IComparer<T>): FSharpSet<T>;
|
|
155
|
-
export declare function remove<T>(value: T, set$: FSharpSet<T>): FSharpSet<T>;
|
|
156
|
-
export declare function union<T>(set1: FSharpSet<T>, set2: FSharpSet<T>): FSharpSet<T>;
|
|
157
|
-
export declare function unionMany<T>(sets: Iterable<FSharpSet<T>>, comparer: IComparer<T>): FSharpSet<T>;
|
|
158
|
-
export declare function intersect<T>(set1: FSharpSet<T>, set2: FSharpSet<T>): FSharpSet<T>;
|
|
159
|
-
export declare function intersectMany<T>(sets: Iterable<FSharpSet<T>>): FSharpSet<T>;
|
|
160
|
-
export declare function iterate<T>(action: ((arg0: T) => void), set$: FSharpSet<T>): void;
|
|
161
|
-
export declare function empty<T>(comparer: IComparer<T>): FSharpSet<T>;
|
|
162
|
-
export declare function forAll<T>(predicate: ((arg0: T) => boolean), set$: FSharpSet<T>): boolean;
|
|
163
|
-
export declare function exists<T>(predicate: ((arg0: T) => boolean), set$: FSharpSet<T>): boolean;
|
|
164
|
-
export declare function filter<T>(predicate: ((arg0: T) => boolean), set$: FSharpSet<T>): FSharpSet<T>;
|
|
165
|
-
export declare function partition<T>(predicate: ((arg0: T) => boolean), set$: FSharpSet<T>): [FSharpSet<T>, FSharpSet<T>];
|
|
166
|
-
export declare function fold<T, State>(folder: ((arg0: State, arg1: T) => State), state: State, set$: FSharpSet<T>): State;
|
|
167
|
-
export declare function foldBack<T, State>(folder: ((arg0: T, arg1: State) => State), set$: FSharpSet<T>, state: State): State;
|
|
168
|
-
export declare function map<T, U>(mapping: ((arg0: T) => U), set$: FSharpSet<T>, comparer: IComparer<U>): FSharpSet<U>;
|
|
169
|
-
export declare function count<T>(set$: FSharpSet<T>): int32;
|
|
170
|
-
export declare function ofList<T>(elements: Iterable<T>, comparer: IComparer<T>): FSharpSet<T>;
|
|
171
|
-
export declare function ofArray<T>(array: T[], comparer: IComparer<T>): FSharpSet<T>;
|
|
172
|
-
export declare function toList<T>(set$: FSharpSet<T>): FSharpList<T>;
|
|
173
|
-
export declare function toArray<T>(set$: FSharpSet<T>): T[];
|
|
174
|
-
export declare function toSeq<T>(set$: FSharpSet<T>): Iterable<T>;
|
|
175
|
-
export declare function ofSeq<T>(elements: Iterable<T>, comparer: IComparer<T>): FSharpSet<T>;
|
|
176
|
-
export declare function difference<T>(set1: FSharpSet<T>, set2: FSharpSet<T>): FSharpSet<T>;
|
|
177
|
-
export declare function isSubset<T>(set1: FSharpSet<T>, set2: FSharpSet<T>): boolean;
|
|
178
|
-
export declare function isSuperset<T>(set1: FSharpSet<T>, set2: FSharpSet<T>): boolean;
|
|
179
|
-
export declare function isProperSubset<T>(set1: FSharpSet<T>, set2: FSharpSet<T>): boolean;
|
|
180
|
-
export declare function isProperSuperset<T>(set1: FSharpSet<T>, set2: FSharpSet<T>): boolean;
|
|
181
|
-
export declare function minElement<T>(set$: FSharpSet<T>): T;
|
|
182
|
-
export declare function maxElement<T>(set$: FSharpSet<T>): T;
|
|
183
|
-
export declare function unionWith<T>(s1: ISet<T>, s2: Iterable<T>): ISet<T>;
|
|
184
|
-
export declare function newMutableSetWith<T>(s1: ISet<T>, s2: Iterable<T>): ISet<T>;
|
|
185
|
-
export declare function intersectWith<T>(s1: ISet<T>, s2: Iterable<T>): void;
|
|
186
|
-
export declare function exceptWith<T>(s1: ISet<T>, s2: Iterable<T>): void;
|
|
187
|
-
export declare function isSubsetOf<T>(s1: ISet<T>, s2: Iterable<T>): boolean;
|
|
188
|
-
export declare function isSupersetOf<T>(s1: ISet<T>, s2: Iterable<T>): boolean;
|
|
189
|
-
export declare function isProperSubsetOf<T>(s1: ISet<T>, s2: Iterable<T>): boolean;
|
|
190
|
-
export declare function isProperSupersetOf<T>(s1: ISet<T>, s2: Iterable<T>): boolean;
|
package/String.d.ts
DELETED
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
declare const enum StringComparison {
|
|
2
|
-
CurrentCulture = 0,
|
|
3
|
-
CurrentCultureIgnoreCase = 1,
|
|
4
|
-
InvariantCulture = 2,
|
|
5
|
-
InvariantCultureIgnoreCase = 3,
|
|
6
|
-
Ordinal = 4,
|
|
7
|
-
OrdinalIgnoreCase = 5
|
|
8
|
-
}
|
|
9
|
-
export declare function compare(...args: any[]): number;
|
|
10
|
-
export declare function compareOrdinal(x: string, y: string): number;
|
|
11
|
-
export declare function compareTo(x: string, y: string): number;
|
|
12
|
-
export declare function startsWith(str: string, pattern: string, ic: boolean | StringComparison): boolean;
|
|
13
|
-
export declare function endsWith(str: string, pattern: string, ic: boolean | StringComparison): boolean;
|
|
14
|
-
export declare function indexOfAny(str: string, anyOf: string[], ...args: number[]): number;
|
|
15
|
-
export type IPrintfFormatContinuation = (f: (x: string) => any) => any;
|
|
16
|
-
export interface IPrintfFormat {
|
|
17
|
-
input: string;
|
|
18
|
-
cont: IPrintfFormatContinuation;
|
|
19
|
-
}
|
|
20
|
-
export declare function printf(input: string): IPrintfFormat;
|
|
21
|
-
export declare function interpolate(str: string, values: any[]): string;
|
|
22
|
-
export declare function toConsole(arg: IPrintfFormat | string): any;
|
|
23
|
-
export declare function toConsoleError(arg: IPrintfFormat | string): any;
|
|
24
|
-
export declare function toText(arg: IPrintfFormat | string): any;
|
|
25
|
-
export declare function toFail(arg: IPrintfFormat | string): any;
|
|
26
|
-
export declare function fsFormat(str: string): (cont: (...args: any[]) => any) => any;
|
|
27
|
-
export declare function format(str: string | object, ...args: any[]): string;
|
|
28
|
-
export declare function initialize(n: number, f: (i: number) => string): string;
|
|
29
|
-
export declare function insert(str: string, startIndex: number, value: string): string;
|
|
30
|
-
export declare function isNullOrEmpty(str: string | any): boolean;
|
|
31
|
-
export declare function isNullOrWhiteSpace(str: string | any): boolean;
|
|
32
|
-
export declare function concat(...xs: any[]): string;
|
|
33
|
-
export declare function join<T>(delimiter: string, xs: Iterable<T>): string;
|
|
34
|
-
export declare function joinWithIndices(delimiter: string, xs: string[], startIndex: number, count: number): string;
|
|
35
|
-
export declare function toBase64String(inArray: ArrayLike<number>): string;
|
|
36
|
-
export declare function fromBase64String(b64Encoded: string): number[];
|
|
37
|
-
export declare function padLeft(str: string, len: number, ch?: string): string;
|
|
38
|
-
export declare function padRight(str: string, len: number, ch?: string): string;
|
|
39
|
-
export declare function remove(str: string, startIndex: number, count?: number): string;
|
|
40
|
-
export declare function replace(str: string, search: string, replace: string): string;
|
|
41
|
-
export declare function replicate(n: number, x: string): string;
|
|
42
|
-
export declare function getCharAtIndex(input: string, index: number): string;
|
|
43
|
-
export declare function split(str: string, splitters: string[], count?: number, options?: number): string[];
|
|
44
|
-
export declare function trim(str: string, ...chars: string[]): string;
|
|
45
|
-
export declare function trimStart(str: string, ...chars: string[]): any;
|
|
46
|
-
export declare function trimEnd(str: string, ...chars: string[]): any;
|
|
47
|
-
export declare function filter(pred: (char: string) => boolean, x: string): string;
|
|
48
|
-
export declare function substring(str: string, startIndex: number, length?: number): string;
|
|
49
|
-
export declare function toCharArray2(str: string, startIndex: number, length: number): string[];
|
|
50
|
-
interface FormattableString {
|
|
51
|
-
strs: TemplateStringsArray;
|
|
52
|
-
args: any[];
|
|
53
|
-
fmts?: string[];
|
|
54
|
-
}
|
|
55
|
-
export declare function fmt(strs: TemplateStringsArray, ...args: any[]): FormattableString;
|
|
56
|
-
export declare function fmtWith(fmts: string[]): (strs: TemplateStringsArray, ...args: any[]) => FormattableString;
|
|
57
|
-
export declare function getFormat(s: FormattableString): string;
|
|
58
|
-
export {};
|
|
@@ -1,79 +0,0 @@
|
|
|
1
|
-
import { int32 } from "./Int32.js";
|
|
2
|
-
import { IEnumerator, IEqualityComparer, IComparer } from "./Util.js";
|
|
3
|
-
import { TypeInfo } from "./Reflection.js";
|
|
4
|
-
import { FSharpRef } from "./Types.js";
|
|
5
|
-
export declare class Comparer$1<T> implements IComparer<T> {
|
|
6
|
-
readonly comparison: ((arg0: T, arg1: T) => int32);
|
|
7
|
-
constructor(comparison: ((arg0: T, arg1: T) => int32));
|
|
8
|
-
Compare(x: T, y: T): int32;
|
|
9
|
-
}
|
|
10
|
-
export declare function Comparer$1_$reflection(gen0: TypeInfo): TypeInfo;
|
|
11
|
-
export declare function Comparer$1_$ctor_47C913C<T>(comparison: ((arg0: T, arg1: T) => int32)): Comparer$1<T>;
|
|
12
|
-
export declare function Comparer$1_get_Default<T>(): Comparer$1<T>;
|
|
13
|
-
export declare function Comparer$1_Create_47C913C<T>(comparison: ((arg0: T, arg1: T) => int32)): Comparer$1<T>;
|
|
14
|
-
export declare function Comparer$1__Compare_5BDDA0<T>(_: Comparer$1<T>, x: T, y: T): int32;
|
|
15
|
-
export declare class EqualityComparer$1<T> implements IEqualityComparer<T> {
|
|
16
|
-
readonly getHashCode: ((arg0: T) => int32);
|
|
17
|
-
readonly equals: ((arg0: T, arg1: T) => boolean);
|
|
18
|
-
constructor(equals: ((arg0: T, arg1: T) => boolean), getHashCode: ((arg0: T) => int32));
|
|
19
|
-
Equals(x: T, y: T): boolean;
|
|
20
|
-
GetHashCode(x: T): int32;
|
|
21
|
-
}
|
|
22
|
-
export declare function EqualityComparer$1_$reflection(gen0: TypeInfo): TypeInfo;
|
|
23
|
-
export declare function EqualityComparer$1_$ctor_Z6EE254AB<T>(equals: ((arg0: T, arg1: T) => boolean), getHashCode: ((arg0: T) => int32)): EqualityComparer$1<T>;
|
|
24
|
-
export declare function EqualityComparer$1_get_Default<T>(): EqualityComparer$1<T>;
|
|
25
|
-
export declare function EqualityComparer$1_Create_Z6EE254AB<T>(equals: ((arg0: T, arg1: T) => boolean), getHashCode: ((arg0: T) => int32)): EqualityComparer$1<T>;
|
|
26
|
-
export declare function EqualityComparer$1__Equals_5BDDA0<T>(_: EqualityComparer$1<T>, x: T, y: T): boolean;
|
|
27
|
-
export declare function EqualityComparer$1__GetHashCode_2B595<T>(_: EqualityComparer$1<T>, x: T): int32;
|
|
28
|
-
export declare class Stack$1<T> implements Iterable<T> {
|
|
29
|
-
contents: T[];
|
|
30
|
-
count: int32;
|
|
31
|
-
constructor(initialContents: T[], initialCount: int32);
|
|
32
|
-
GetEnumerator(): IEnumerator<T>;
|
|
33
|
-
[Symbol.iterator](): Iterator<T>;
|
|
34
|
-
"System.Collections.IEnumerable.GetEnumerator"(): IEnumerator<any>;
|
|
35
|
-
}
|
|
36
|
-
export declare function Stack$1_$reflection(gen0: TypeInfo): TypeInfo;
|
|
37
|
-
export declare function Stack$1_$ctor_Z524259A4<T>(initialCapacity: int32): Stack$1<T>;
|
|
38
|
-
export declare function Stack$1_$ctor<T>(): Stack$1<T>;
|
|
39
|
-
export declare function Stack$1_$ctor_BB573A<T>(xs: Iterable<T>): Stack$1<T>;
|
|
40
|
-
export declare function Stack$1__Ensure_Z524259A4<T>(_: Stack$1<T>, newSize: int32): void;
|
|
41
|
-
export declare function Stack$1__get_Count<T>(_: Stack$1<T>): int32;
|
|
42
|
-
export declare function Stack$1__Pop<T>(_: Stack$1<T>): T;
|
|
43
|
-
export declare function Stack$1__Peek<T>(_: Stack$1<T>): T;
|
|
44
|
-
export declare function Stack$1__Contains_2B595<T>(_: Stack$1<T>, x: T): boolean;
|
|
45
|
-
export declare function Stack$1__TryPeek_1F3DB691<T>(this$: Stack$1<T>, result: FSharpRef<T>): boolean;
|
|
46
|
-
export declare function Stack$1__TryPop_1F3DB691<T>(this$: Stack$1<T>, result: FSharpRef<T>): boolean;
|
|
47
|
-
export declare function Stack$1__Push_2B595<T>(this$: Stack$1<T>, x: T): void;
|
|
48
|
-
export declare function Stack$1__Clear<T>(_: Stack$1<T>): void;
|
|
49
|
-
export declare function Stack$1__TrimExcess<T>(this$: Stack$1<T>): void;
|
|
50
|
-
export declare function Stack$1__ToArray<T>(_: Stack$1<T>): T[];
|
|
51
|
-
export declare class Queue$1<T> implements Iterable<T> {
|
|
52
|
-
contents: T[];
|
|
53
|
-
count: int32;
|
|
54
|
-
head: int32;
|
|
55
|
-
tail: int32;
|
|
56
|
-
constructor(initialContents: T[], initialCount: int32);
|
|
57
|
-
GetEnumerator(): IEnumerator<T>;
|
|
58
|
-
[Symbol.iterator](): Iterator<T>;
|
|
59
|
-
"System.Collections.IEnumerable.GetEnumerator"(): IEnumerator<any>;
|
|
60
|
-
}
|
|
61
|
-
export declare function Queue$1_$reflection(gen0: TypeInfo): TypeInfo;
|
|
62
|
-
export declare function Queue$1_$ctor_Z524259A4<T>(initialCapacity: int32): Queue$1<T>;
|
|
63
|
-
export declare function Queue$1_$ctor<T>(): Queue$1<T>;
|
|
64
|
-
export declare function Queue$1_$ctor_BB573A<T>(xs: Iterable<T>): Queue$1<T>;
|
|
65
|
-
export declare function Queue$1__get_Count<T>(_: Queue$1<T>): int32;
|
|
66
|
-
export declare function Queue$1__Enqueue_2B595<T>(_: Queue$1<T>, value: T): void;
|
|
67
|
-
export declare function Queue$1__Dequeue<T>(_: Queue$1<T>): T;
|
|
68
|
-
export declare function Queue$1__Peek<T>(_: Queue$1<T>): T;
|
|
69
|
-
export declare function Queue$1__TryDequeue_1F3DB691<T>(this$: Queue$1<T>, result: FSharpRef<T>): boolean;
|
|
70
|
-
export declare function Queue$1__TryPeek_1F3DB691<T>(this$: Queue$1<T>, result: FSharpRef<T>): boolean;
|
|
71
|
-
export declare function Queue$1__Contains_2B595<T>(_: Queue$1<T>, x: T): boolean;
|
|
72
|
-
export declare function Queue$1__Clear<T>(_: Queue$1<T>): void;
|
|
73
|
-
export declare function Queue$1__TrimExcess<T>(_: Queue$1<T>): void;
|
|
74
|
-
export declare function Queue$1__ToArray<T>(_: Queue$1<T>): T[];
|
|
75
|
-
export declare function Queue$1__CopyTo_Z3B4C077E<T>(_: Queue$1<T>, target: T[], start: int32): void;
|
|
76
|
-
export declare function Queue$1__size<T>(this$: Queue$1<T>): int32;
|
|
77
|
-
export declare function Queue$1__toIndex_Z524259A4<T>(this$: Queue$1<T>, i: int32): int32;
|
|
78
|
-
export declare function Queue$1__ensure_Z524259A4<T>(this$: Queue$1<T>, requiredSize: int32): void;
|
|
79
|
-
export declare function Queue$1__toSeq<T>(this$: Queue$1<T>): Iterable<T>;
|
package/System.Text.d.ts
DELETED
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import { float64, int32 } from "./Int32.js";
|
|
2
|
-
import { TypeInfo } from "./Reflection.js";
|
|
3
|
-
export declare class StringBuilder {
|
|
4
|
-
readonly buf: string[];
|
|
5
|
-
constructor(value: string, capacity: int32);
|
|
6
|
-
toString(): string;
|
|
7
|
-
}
|
|
8
|
-
export declare function StringBuilder_$reflection(): TypeInfo;
|
|
9
|
-
export declare function StringBuilder_$ctor_Z18115A39(value: string, capacity: int32): StringBuilder;
|
|
10
|
-
export declare function StringBuilder_$ctor_Z524259A4(capacity: int32): StringBuilder;
|
|
11
|
-
export declare function StringBuilder_$ctor_Z721C83C5(value: string): StringBuilder;
|
|
12
|
-
export declare function StringBuilder_$ctor(): StringBuilder;
|
|
13
|
-
export declare function StringBuilder__Append_Z721C83C5(x: StringBuilder, s: string): StringBuilder;
|
|
14
|
-
export declare function StringBuilder__Append_487EF8FB(x: StringBuilder, s: string, startIndex: int32, count: int32): StringBuilder;
|
|
15
|
-
export declare function StringBuilder__Append_244C7CD6(x: StringBuilder, c: string): StringBuilder;
|
|
16
|
-
export declare function StringBuilder__Append_61B1CA(x: StringBuilder, c: string, repeatCount: int32): StringBuilder;
|
|
17
|
-
export declare function StringBuilder__Append_Z524259A4(x: StringBuilder, o: int32): StringBuilder;
|
|
18
|
-
export declare function StringBuilder__Append_5E38073B(x: StringBuilder, o: float64): StringBuilder;
|
|
19
|
-
export declare function StringBuilder__Append_Z1FBCCD16(x: StringBuilder, o: boolean): StringBuilder;
|
|
20
|
-
export declare function StringBuilder__Append_4E60E31B(x: StringBuilder, o: any): StringBuilder;
|
|
21
|
-
export declare function StringBuilder__Append_Z372E4D23(x: StringBuilder, cs: string[]): StringBuilder;
|
|
22
|
-
export declare function StringBuilder__Append_43A65C09(x: StringBuilder, s: StringBuilder): StringBuilder;
|
|
23
|
-
export declare function StringBuilder__AppendFormat_433E080(x: StringBuilder, fmt: string, o: any): StringBuilder;
|
|
24
|
-
export declare function StringBuilder__AppendFormat_Z3B30EC65(x: StringBuilder, fmt: string, o1: any, o2: any): StringBuilder;
|
|
25
|
-
export declare function StringBuilder__AppendFormat_10D165E0(x: StringBuilder, fmt: string, o1: any, o2: any, o3: any): StringBuilder;
|
|
26
|
-
export declare function StringBuilder__AppendFormat_Z17053F5(x: StringBuilder, fmt: string, arr: any[]): StringBuilder;
|
|
27
|
-
export declare function StringBuilder__AppendFormat_Z696D8D1B(x: StringBuilder, provider: any, fmt: string, o: any): StringBuilder;
|
|
28
|
-
export declare function StringBuilder__AppendFormat_26802C9E(x: StringBuilder, provider: any, fmt: string, o1: any, o2: any): StringBuilder;
|
|
29
|
-
export declare function StringBuilder__AppendFormat_Z471ADCBB(x: StringBuilder, provider: any, fmt: string, o1: any, o2: any, o3: any): StringBuilder;
|
|
30
|
-
export declare function StringBuilder__AppendFormat_6C2E3E6E(x: StringBuilder, provider: any, fmt: string, arr: any[]): StringBuilder;
|
|
31
|
-
export declare function StringBuilder__AppendLine(x: StringBuilder): StringBuilder;
|
|
32
|
-
export declare function StringBuilder__AppendLine_Z721C83C5(x: StringBuilder, s: string): StringBuilder;
|
|
33
|
-
export declare function StringBuilder__Clear(x: StringBuilder): StringBuilder;
|
|
34
|
-
export declare function StringBuilder__get_Chars_Z524259A4(x: StringBuilder, index: int32): string;
|
|
35
|
-
export declare function StringBuilder__set_Chars_413E0D0A(x: StringBuilder, index: int32, value: string): void;
|
|
36
|
-
export declare function StringBuilder__Replace_Z766F94C0(x: StringBuilder, oldValue: string, newValue: string): StringBuilder;
|
|
37
|
-
export declare function StringBuilder__Replace_Z384F8060(x: StringBuilder, oldValue: string, newValue: string): StringBuilder;
|
|
38
|
-
export declare function StringBuilder__get_Length(x: StringBuilder): int32;
|
|
39
|
-
export declare function StringBuilder__ToString_Z37302880(x: StringBuilder, firstIndex: int32, length: int32): string;
|
package/SystemException.d.ts
DELETED
package/SystemException.js
DELETED
package/TimeOnly.d.ts
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { FSharpRef } from "./Types.js";
|
|
2
|
-
import { IDateTime } from "./Util.js";
|
|
3
|
-
export declare function create(h?: number, m?: number, s?: number, ms?: number): number;
|
|
4
|
-
export declare function fromTicks(ticks: number | bigint): number;
|
|
5
|
-
export declare function fromTimeSpan(timeSpan: number): number;
|
|
6
|
-
export declare function fromDateTime(d: IDateTime): number;
|
|
7
|
-
export declare function maxValue(): number;
|
|
8
|
-
export declare function add(t: number, ts: number, wrappedDays?: FSharpRef<number>): number;
|
|
9
|
-
export declare function addHours(t: number, h: number): number;
|
|
10
|
-
export declare function addMinutes(t: number, m: number): number;
|
|
11
|
-
export declare function isBetween(t: number, start: number, end: number): boolean;
|
|
12
|
-
export declare function toString(t: number, format?: string, _provider?: any): string;
|
|
13
|
-
export declare function parse(str: string): number;
|
|
14
|
-
export declare function tryParse(v: string, defValue: FSharpRef<number>): boolean;
|
|
15
|
-
export declare function op_Subtraction(left: number, right: number): number;
|