@magnusopera/fscript 0.86.1 → 0.86.2
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/dist/FScript.Language/Ast.js +2 -2
- package/dist/FScript.Language/BuiltinFunctions.js +31 -19
- package/dist/FScript.Language/BuiltinSignatures.js +6 -6
- package/dist/FScript.Language/BuiltinTypes.js +1 -1
- package/dist/FScript.Language/Error.js +2 -2
- package/dist/FScript.Language/Eval.js +11 -11
- package/dist/FScript.Language/Execution.js +6 -6
- package/dist/FScript.Language/ExportSignatures.js +5 -5
- package/dist/FScript.Language/HostInterop.js +8 -8
- package/dist/FScript.Language/IncludeResolver.js +10 -10
- package/dist/FScript.Language/Interactive.js +7 -7
- package/dist/FScript.Language/Lexer.js +9 -9
- package/dist/FScript.Language/Parser.js +10 -10
- package/dist/FScript.Language/Pretty.js +4 -4
- package/dist/FScript.Language/Span.js +2 -2
- package/dist/FScript.Language/TaskFunctions.js +2 -2
- package/dist/FScript.Language/TaskSharingAnalysis.js +17 -17
- package/dist/FScript.Language/Token.js +2 -2
- package/dist/FScript.Language/TypeInfer.js +12 -12
- package/dist/FScript.Language/Types.js +8 -8
- package/dist/FScript.Language/Value.js +2 -2
- package/dist/Library.js +13 -13
- package/dist/fable_modules/fable-library-js.5.24.0/Async.js +363 -0
- package/dist/fable_modules/{fable-library-js.5.13.0 → fable-library-js.5.24.0}/AsyncBuilder.js +70 -10
- package/dist/fable_modules/{fable-library-js.5.13.0 → fable-library-js.5.24.0}/CHANGELOG.md +90 -1
- package/dist/fable_modules/{fable-library-js.5.13.0 → fable-library-js.5.24.0}/CollectionUtil.js +10 -16
- package/dist/fable_modules/fable-library-js.5.24.0/DateOnlyTemporal.js +146 -0
- package/dist/fable_modules/fable-library-js.5.24.0/DateTimeFormat.js +523 -0
- package/dist/fable_modules/fable-library-js.5.24.0/DateTimeOffsetTemporal.js +283 -0
- package/dist/fable_modules/fable-library-js.5.24.0/DateTimeTemporal.js +243 -0
- package/dist/fable_modules/{fable-library-js.5.13.0 → fable-library-js.5.24.0}/Decimal.js +100 -11
- package/dist/fable_modules/{fable-library-js.5.13.0 → fable-library-js.5.24.0}/Encoding.js +23 -16
- package/dist/fable_modules/{fable-library-js.5.13.0 → fable-library-js.5.24.0}/Guid.js +3 -1
- package/dist/fable_modules/{fable-library-js.5.13.0 → fable-library-js.5.24.0}/MailboxProcessor.js +23 -3
- package/dist/fable_modules/{fable-library-js.5.13.0 → fable-library-js.5.24.0}/MutableMap.js +5 -1
- package/dist/fable_modules/{fable-library-js.5.13.0 → fable-library-js.5.24.0}/MutableSet.js +5 -1
- package/dist/fable_modules/{fable-library-js.5.13.0 → fable-library-js.5.24.0}/Numeric.js +38 -1
- package/dist/fable_modules/fable-library-js.5.24.0/Stopwatch.js +65 -0
- package/dist/fable_modules/{fable-library-js.5.13.0 → fable-library-js.5.24.0}/String.js +43 -9
- package/dist/fable_modules/{fable-library-js.5.13.0 → fable-library-js.5.24.0}/System.Text.js +9 -9
- package/dist/fable_modules/{fable-library-js.5.13.0 → fable-library-js.5.24.0}/Task.js +22 -0
- package/dist/fable_modules/fable-library-js.5.24.0/TimeOnlyTemporal.js +142 -0
- package/dist/fable_modules/fable-library-js.5.24.0/TimeSpanTemporal.js +259 -0
- package/dist/fable_modules/{fable-library-js.5.13.0 → fable-library-js.5.24.0}/Util.js +15 -3
- package/dist/fable_modules/{fable-library-js.5.13.0 → fable-library-js.5.24.0}/big.d.ts +1 -0
- package/dist/fable_modules/{fable-library-js.5.13.0 → fable-library-js.5.24.0}/lib/big.js +111 -64
- package/dist/fable_modules/{fable-library-js.5.13.0 → fable-library-js.5.24.0}/package.json +1 -1
- package/dist/fable_modules/{fable-library-js.5.13.0 → fable-library-js.5.24.0}/quotation.js +47 -0
- package/dist/fable_modules/project_cracked.json +1 -1
- package/package.json +1 -1
- package/dist/fable_modules/fable-library-js.5.13.0/Async.js +0 -163
- /package/dist/fable_modules/{fable-library-js.5.13.0 → fable-library-js.5.24.0}/Array.js +0 -0
- /package/dist/fable_modules/{fable-library-js.5.13.0 → fable-library-js.5.24.0}/BigInt.js +0 -0
- /package/dist/fable_modules/{fable-library-js.5.13.0 → fable-library-js.5.24.0}/BitConverter.js +0 -0
- /package/dist/fable_modules/{fable-library-js.5.13.0 → fable-library-js.5.24.0}/Boolean.js +0 -0
- /package/dist/fable_modules/{fable-library-js.5.13.0 → fable-library-js.5.24.0}/Char.js +0 -0
- /package/dist/fable_modules/{fable-library-js.5.13.0 → fable-library-js.5.24.0}/Choice.js +0 -0
- /package/dist/fable_modules/{fable-library-js.5.13.0 → fable-library-js.5.24.0}/ConditionalWeakTable.js +0 -0
- /package/dist/fable_modules/{fable-library-js.5.13.0 → fable-library-js.5.24.0}/Date.js +0 -0
- /package/dist/fable_modules/{fable-library-js.5.13.0 → fable-library-js.5.24.0}/DateOffset.js +0 -0
- /package/dist/fable_modules/{fable-library-js.5.13.0 → fable-library-js.5.24.0}/DateOnly.js +0 -0
- /package/dist/fable_modules/{fable-library-js.5.13.0 → fable-library-js.5.24.0}/Directory.js +0 -0
- /package/dist/fable_modules/{fable-library-js.5.13.0 → fable-library-js.5.24.0}/Double.js +0 -0
- /package/dist/fable_modules/{fable-library-js.5.13.0 → fable-library-js.5.24.0}/Environment.js +0 -0
- /package/dist/fable_modules/{fable-library-js.5.13.0 → fable-library-js.5.24.0}/Event.js +0 -0
- /package/dist/fable_modules/{fable-library-js.5.13.0 → fable-library-js.5.24.0}/FSharp.Collections.js +0 -0
- /package/dist/fable_modules/{fable-library-js.5.13.0 → fable-library-js.5.24.0}/FSharp.Core.CompilerServices.js +0 -0
- /package/dist/fable_modules/{fable-library-js.5.13.0 → fable-library-js.5.24.0}/FSharp.Core.js +0 -0
- /package/dist/fable_modules/{fable-library-js.5.13.0 → fable-library-js.5.24.0}/File.js +0 -0
- /package/dist/fable_modules/{fable-library-js.5.13.0 → fable-library-js.5.24.0}/Global.js +0 -0
- /package/dist/fable_modules/{fable-library-js.5.13.0 → fable-library-js.5.24.0}/Int32.js +0 -0
- /package/dist/fable_modules/{fable-library-js.5.13.0 → fable-library-js.5.24.0}/List.js +0 -0
- /package/dist/fable_modules/{fable-library-js.5.13.0 → fable-library-js.5.24.0}/Long.js +0 -0
- /package/dist/fable_modules/{fable-library-js.5.13.0 → fable-library-js.5.24.0}/Map.js +0 -0
- /package/dist/fable_modules/{fable-library-js.5.13.0 → fable-library-js.5.24.0}/MapUtil.js +0 -0
- /package/dist/fable_modules/{fable-library-js.5.13.0 → fable-library-js.5.24.0}/Native.js +0 -0
- /package/dist/fable_modules/{fable-library-js.5.13.0 → fable-library-js.5.24.0}/Observable.js +0 -0
- /package/dist/fable_modules/{fable-library-js.5.13.0 → fable-library-js.5.24.0}/Option.js +0 -0
- /package/dist/fable_modules/{fable-library-js.5.13.0 → fable-library-js.5.24.0}/Path.js +0 -0
- /package/dist/fable_modules/{fable-library-js.5.13.0 → fable-library-js.5.24.0}/README.md +0 -0
- /package/dist/fable_modules/{fable-library-js.5.13.0 → fable-library-js.5.24.0}/Random.js +0 -0
- /package/dist/fable_modules/{fable-library-js.5.13.0 → fable-library-js.5.24.0}/Range.js +0 -0
- /package/dist/fable_modules/{fable-library-js.5.13.0 → fable-library-js.5.24.0}/Reflection.js +0 -0
- /package/dist/fable_modules/{fable-library-js.5.13.0 → fable-library-js.5.24.0}/RegExp.js +0 -0
- /package/dist/fable_modules/{fable-library-js.5.13.0 → fable-library-js.5.24.0}/Result.js +0 -0
- /package/dist/fable_modules/{fable-library-js.5.13.0 → fable-library-js.5.24.0}/Seq.js +0 -0
- /package/dist/fable_modules/{fable-library-js.5.13.0 → fable-library-js.5.24.0}/Seq2.js +0 -0
- /package/dist/fable_modules/{fable-library-js.5.13.0 → fable-library-js.5.24.0}/Set.js +0 -0
- /package/dist/fable_modules/{fable-library-js.5.13.0 → fable-library-js.5.24.0}/System.Collections.Generic.js +0 -0
- /package/dist/fable_modules/{fable-library-js.5.13.0 → fable-library-js.5.24.0}/System.js +0 -0
- /package/dist/fable_modules/{fable-library-js.5.13.0 → fable-library-js.5.24.0}/TaskBuilder.js +0 -0
- /package/dist/fable_modules/{fable-library-js.5.13.0 → fable-library-js.5.24.0}/TimeOnly.js +0 -0
- /package/dist/fable_modules/{fable-library-js.5.13.0 → fable-library-js.5.24.0}/TimeSpan.js +0 -0
- /package/dist/fable_modules/{fable-library-js.5.13.0 → fable-library-js.5.24.0}/Timer.js +0 -0
- /package/dist/fable_modules/{fable-library-js.5.13.0 → fable-library-js.5.24.0}/Types.js +0 -0
- /package/dist/fable_modules/{fable-library-js.5.13.0 → fable-library-js.5.24.0}/Unicode.13.0.0.js +0 -0
- /package/dist/fable_modules/{fable-library-js.5.13.0 → fable-library-js.5.24.0}/Uri.js +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
|
|
2
|
-
import { Union, Record } from "../fable_modules/fable-library-js.5.
|
|
3
|
-
import { float64_type, int64_type, union_type, option_type, list_type, tuple_type, bool_type, record_type, string_type } from "../fable_modules/fable-library-js.5.
|
|
2
|
+
import { Union, Record } from "../fable_modules/fable-library-js.5.24.0/Types.js";
|
|
3
|
+
import { float64_type, int64_type, union_type, option_type, list_type, tuple_type, bool_type, record_type, string_type } from "../fable_modules/fable-library-js.5.24.0/Reflection.js";
|
|
4
4
|
import { Span_$reflection } from "./Span.js";
|
|
5
5
|
|
|
6
6
|
export class BackendImport extends Record {
|
|
@@ -1,24 +1,25 @@
|
|
|
1
1
|
|
|
2
2
|
import { Span, Position } from "./Span.js";
|
|
3
3
|
import { EvalException, EvalError$ } from "./Error.js";
|
|
4
|
-
import { FSharpMap__Remove, toList, add, FSharpMap__Add, FSharpMap__ContainsKey, FSharpMap__TryFind, empty as empty_1, FSharpMap__get_Item, forAll, FSharpMap__get_Keys, FSharpMap__get_Count, tryFind } from "../fable_modules/fable-library-js.5.
|
|
4
|
+
import { FSharpMap__Remove, toList, add, FSharpMap__Add, FSharpMap__ContainsKey, FSharpMap__TryFind, empty as empty_1, FSharpMap__get_Item, forAll, FSharpMap__get_Keys, FSharpMap__get_Count, tryFind } from "../fable_modules/fable-library-js.5.24.0/Map.js";
|
|
5
5
|
import { builtinSchemes } from "./BuiltinSignatures.js";
|
|
6
|
-
import { equals as equals_1, compare, comparePrimitives, curry2, defaultOf, Exception } from "../fable_modules/fable-library-js.5.
|
|
7
|
-
import { endsWith, split, join, substring, indexOf, replace, format, concat } from "../fable_modules/fable-library-js.5.
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import { Execution_fold, Execution_execution, Execution_Builder__For_Z3A5BE4A, Execution$1__get_IsImmediate, Execution_map, Execution$1, Execution_run } from "./Execution.js";
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import { tryParse
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
6
|
+
import { equals as equals_1, compare, comparePrimitives, curry2, defaultOf, Exception } from "../fable_modules/fable-library-js.5.24.0/Util.js";
|
|
7
|
+
import { endsWith, split, join, substring, indexOf, replace, format, concat } from "../fable_modules/fable-library-js.5.24.0/String.js";
|
|
8
|
+
import { FSharpRef, Record } from "../fable_modules/fable-library-js.5.24.0/Types.js";
|
|
9
|
+
import { Value, MapKey, ExternalFunction, Value_$reflection } from "./Value.js";
|
|
10
|
+
import { Execution_fold, Execution_execution, Execution_Builder__For_Z3A5BE4A, Execution$1__get_IsImmediate, Execution_map, Execution$1, Execution_run, Execution$1_$reflection } from "./Execution.js";
|
|
11
|
+
import { record_type, list_type, lambda_type } from "../fable_modules/fable-library-js.5.24.0/Reflection.js";
|
|
12
|
+
import { Dictionary } from "../fable_modules/fable-library-js.5.24.0/MutableMap.js";
|
|
13
|
+
import { HashIdentity_Reference } from "../fable_modules/fable-library-js.5.24.0/FSharp.Collections.js";
|
|
14
|
+
import { tryGetValue, addToDict } from "../fable_modules/fable-library-js.5.24.0/MapUtil.js";
|
|
15
|
+
import { tryParse } from "../fable_modules/fable-library-js.5.24.0/Long.js";
|
|
16
|
+
import { tryParse as tryParse_1 } from "../fable_modules/fable-library-js.5.24.0/Double.js";
|
|
17
|
+
import { append, tryHead, concat as concat_1, choose, ofArray, map, exists, fold, forAll2, length as length_1, empty, reverse, cons, tail as tail_1, head as head_1, isEmpty } from "../fable_modules/fable-library-js.5.24.0/List.js";
|
|
18
|
+
import { compare as compare_1, op_Addition, toInt32_unchecked, fromInt32, toInt64_unchecked, equals } from "../fable_modules/fable-library-js.5.24.0/BigInt.js";
|
|
19
|
+
import { ofSeq } from "../fable_modules/fable-library-js.5.24.0/Set.js";
|
|
19
20
|
import { $007CRecordFields$007C_$007C } from "./HostInterop.js";
|
|
20
|
-
import { tryParse as tryParse_2 } from "../fable_modules/fable-library-js.5.
|
|
21
|
-
import { some } from "../fable_modules/fable-library-js.5.
|
|
21
|
+
import { tryParse as tryParse_2 } from "../fable_modules/fable-library-js.5.24.0/Boolean.js";
|
|
22
|
+
import { some } from "../fable_modules/fable-library-js.5.24.0/Option.js";
|
|
22
23
|
|
|
23
24
|
const unknownSpan = new Span(new Position(undefined, 0, 0), new Position(undefined, 0, 0));
|
|
24
25
|
|
|
@@ -36,11 +37,22 @@ function scheme(name) {
|
|
|
36
37
|
}
|
|
37
38
|
}
|
|
38
39
|
|
|
40
|
+
class ResumableImplementation extends Record {
|
|
41
|
+
constructor(Invoke) {
|
|
42
|
+
super();
|
|
43
|
+
this.Invoke = Invoke;
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
function ResumableImplementation_$reflection() {
|
|
48
|
+
return record_type("FScript.Language.BuiltinFunctions.ResumableImplementation", [], ResumableImplementation, () => [["Invoke", lambda_type(lambda_type(Value_$reflection(), lambda_type(Value_$reflection(), Execution$1_$reflection(Value_$reflection()))), lambda_type(list_type(Value_$reflection()), Execution$1_$reflection(Value_$reflection())))]]);
|
|
49
|
+
}
|
|
50
|
+
|
|
39
51
|
const implementations = new Dictionary([], HashIdentity_Reference());
|
|
40
52
|
|
|
41
53
|
function resumable(name, arity, implementation) {
|
|
42
54
|
const descriptor = new ExternalFunction(name, scheme(name), (context, arguments$) => Execution_run(implementation((f) => ((a) => (new Execution$1(context.Apply(f, a), defaultOf()))), arguments$)), arity);
|
|
43
|
-
addToDict(implementations, descriptor,
|
|
55
|
+
addToDict(implementations, descriptor, new ResumableImplementation(implementation));
|
|
44
56
|
return descriptor;
|
|
45
57
|
}
|
|
46
58
|
|
|
@@ -48,10 +60,10 @@ export function tryExecution(descriptor) {
|
|
|
48
60
|
let matchValue;
|
|
49
61
|
let outArg = defaultOf();
|
|
50
62
|
matchValue = [tryGetValue(implementations, descriptor, new FSharpRef(() => outArg, (v) => {
|
|
51
|
-
outArg =
|
|
63
|
+
outArg = v;
|
|
52
64
|
})), outArg];
|
|
53
65
|
if (matchValue[0]) {
|
|
54
|
-
return matchValue[1];
|
|
66
|
+
return curry2(matchValue[1].Invoke);
|
|
55
67
|
}
|
|
56
68
|
else {
|
|
57
69
|
return undefined;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
|
|
2
|
-
import { keys, ofList } from "../fable_modules/fable-library-js.5.
|
|
3
|
-
import { ofArray, singleton, empty } from "../fable_modules/fable-library-js.5.
|
|
2
|
+
import { keys, ofList } from "../fable_modules/fable-library-js.5.24.0/Map.js";
|
|
3
|
+
import { ofArray, singleton, empty } from "../fable_modules/fable-library-js.5.24.0/List.js";
|
|
4
4
|
import { Scheme, Type } from "./Types.js";
|
|
5
|
-
import { comparePrimitives } from "../fable_modules/fable-library-js.5.
|
|
6
|
-
import { ofSeq } from "../fable_modules/fable-library-js.5.
|
|
7
|
-
import { filter } from "../fable_modules/fable-library-js.5.
|
|
8
|
-
import { startsWith } from "../fable_modules/fable-library-js.5.
|
|
5
|
+
import { comparePrimitives } from "../fable_modules/fable-library-js.5.24.0/Util.js";
|
|
6
|
+
import { ofSeq } from "../fable_modules/fable-library-js.5.24.0/Set.js";
|
|
7
|
+
import { filter } from "../fable_modules/fable-library-js.5.24.0/Seq.js";
|
|
8
|
+
import { startsWith } from "../fable_modules/fable-library-js.5.24.0/String.js";
|
|
9
9
|
|
|
10
10
|
export const builtinSchemes = ofList(ofArray([["Env.setExitCode", new Scheme(empty(), new Type(/* TFun */ 11, [Type.TInt, Type.TUnit]))], ["ignore", new Scheme(singleton(0), new Type(/* TFun */ 11, [new Type(/* TVar */ 15, [0]), Type.TUnit]))], ["Int.tryParse", new Scheme(empty(), new Type(/* TFun */ 11, [Type.TString, new Type(/* TOption */ 10, [Type.TInt])]))], ["Float.tryParse", new Scheme(empty(), new Type(/* TFun */ 11, [Type.TString, new Type(/* TOption */ 10, [Type.TFloat])]))], ["Bool.tryParse", new Scheme(empty(), new Type(/* TFun */ 11, [Type.TString, new Type(/* TOption */ 10, [Type.TBool])]))], ["Int.toString", new Scheme(empty(), new Type(/* TFun */ 11, [Type.TInt, Type.TString]))], ["Float.toString", new Scheme(empty(), new Type(/* TFun */ 11, [Type.TFloat, Type.TString]))], ["Bool.toString", new Scheme(empty(), new Type(/* TFun */ 11, [Type.TBool, Type.TString]))], ["String.replace", new Scheme(empty(), new Type(/* TFun */ 11, [Type.TString, new Type(/* TFun */ 11, [Type.TString, new Type(/* TFun */ 11, [Type.TString, Type.TString])])]))], ["String.indexOf", new Scheme(empty(), new Type(/* TFun */ 11, [Type.TString, new Type(/* TFun */ 11, [Type.TString, new Type(/* TOption */ 10, [Type.TInt])])]))], ["String.toLower", new Scheme(empty(), new Type(/* TFun */ 11, [Type.TString, Type.TString]))], ["String.toUpper", new Scheme(empty(), new Type(/* TFun */ 11, [Type.TString, Type.TString]))], ["String.substring", new Scheme(empty(), new Type(/* TFun */ 11, [Type.TInt, new Type(/* TFun */ 11, [Type.TInt, new Type(/* TFun */ 11, [Type.TString, new Type(/* TOption */ 10, [Type.TString])])])]))], ["String.concat", new Scheme(empty(), new Type(/* TFun */ 11, [Type.TString, new Type(/* TFun */ 11, [new Type(/* TList */ 5, [Type.TString]), Type.TString])]))], ["String.split", new Scheme(empty(), new Type(/* TFun */ 11, [Type.TString, new Type(/* TFun */ 11, [Type.TString, new Type(/* TList */ 5, [Type.TString])])]))], ["String.endsWith", new Scheme(empty(), new Type(/* TFun */ 11, [Type.TString, new Type(/* TFun */ 11, [Type.TString, Type.TBool])]))], ["List.empty", new Scheme(singleton(0), new Type(/* TList */ 5, [new Type(/* TVar */ 15, [0])]))], ["List.map", new Scheme(ofArray([0, 1]), new Type(/* TFun */ 11, [new Type(/* TFun */ 11, [new Type(/* TVar */ 15, [0]), new Type(/* TVar */ 15, [1])]), new Type(/* TFun */ 11, [new Type(/* TList */ 5, [new Type(/* TVar */ 15, [0])]), new Type(/* TList */ 5, [new Type(/* TVar */ 15, [1])])])]))], ["List.iter", new Scheme(singleton(0), new Type(/* TFun */ 11, [new Type(/* TFun */ 11, [new Type(/* TVar */ 15, [0]), Type.TUnit]), new Type(/* TFun */ 11, [new Type(/* TList */ 5, [new Type(/* TVar */ 15, [0])]), Type.TUnit])]))], ["List.choose", new Scheme(ofArray([0, 1]), new Type(/* TFun */ 11, [new Type(/* TFun */ 11, [new Type(/* TVar */ 15, [0]), new Type(/* TOption */ 10, [new Type(/* TVar */ 15, [1])])]), new Type(/* TFun */ 11, [new Type(/* TList */ 5, [new Type(/* TVar */ 15, [0])]), new Type(/* TList */ 5, [new Type(/* TVar */ 15, [1])])])]))], ["List.collect", new Scheme(ofArray([0, 1]), new Type(/* TFun */ 11, [new Type(/* TFun */ 11, [new Type(/* TVar */ 15, [0]), new Type(/* TList */ 5, [new Type(/* TVar */ 15, [1])])]), new Type(/* TFun */ 11, [new Type(/* TList */ 5, [new Type(/* TVar */ 15, [0])]), new Type(/* TList */ 5, [new Type(/* TVar */ 15, [1])])])]))], ["List.exists", new Scheme(singleton(0), new Type(/* TFun */ 11, [new Type(/* TFun */ 11, [new Type(/* TVar */ 15, [0]), Type.TBool]), new Type(/* TFun */ 11, [new Type(/* TList */ 5, [new Type(/* TVar */ 15, [0])]), Type.TBool])]))], ["List.contains", new Scheme(singleton(0), new Type(/* TFun */ 11, [new Type(/* TVar */ 15, [0]), new Type(/* TFun */ 11, [new Type(/* TList */ 5, [new Type(/* TVar */ 15, [0])]), Type.TBool])]))], ["List.rev", new Scheme(singleton(0), new Type(/* TFun */ 11, [new Type(/* TList */ 5, [new Type(/* TVar */ 15, [0])]), new Type(/* TList */ 5, [new Type(/* TVar */ 15, [0])])]))], ["List.distinct", new Scheme(singleton(0), new Type(/* TFun */ 11, [new Type(/* TList */ 5, [new Type(/* TVar */ 15, [0])]), new Type(/* TList */ 5, [new Type(/* TVar */ 15, [0])])]))], ["List.fold", new Scheme(ofArray([0, 1]), new Type(/* TFun */ 11, [new Type(/* TFun */ 11, [new Type(/* TVar */ 15, [1]), new Type(/* TFun */ 11, [new Type(/* TVar */ 15, [0]), new Type(/* TVar */ 15, [1])])]), new Type(/* TFun */ 11, [new Type(/* TVar */ 15, [1]), new Type(/* TFun */ 11, [new Type(/* TList */ 5, [new Type(/* TVar */ 15, [0])]), new Type(/* TVar */ 15, [1])])])]))], ["List.filter", new Scheme(singleton(0), new Type(/* TFun */ 11, [new Type(/* TFun */ 11, [new Type(/* TVar */ 15, [0]), Type.TBool]), new Type(/* TFun */ 11, [new Type(/* TList */ 5, [new Type(/* TVar */ 15, [0])]), new Type(/* TList */ 5, [new Type(/* TVar */ 15, [0])])])]))], ["List.length", new Scheme(singleton(0), new Type(/* TFun */ 11, [new Type(/* TList */ 5, [new Type(/* TVar */ 15, [0])]), Type.TInt]))], ["List.tryFind", new Scheme(singleton(0), new Type(/* TFun */ 11, [new Type(/* TFun */ 11, [new Type(/* TVar */ 15, [0]), Type.TBool]), new Type(/* TFun */ 11, [new Type(/* TList */ 5, [new Type(/* TVar */ 15, [0])]), new Type(/* TOption */ 10, [new Type(/* TVar */ 15, [0])])])]))], ["List.tryGet", new Scheme(singleton(0), new Type(/* TFun */ 11, [new Type(/* TFun */ 11, [new Type(/* TVar */ 15, [0]), Type.TBool]), new Type(/* TFun */ 11, [new Type(/* TList */ 5, [new Type(/* TVar */ 15, [0])]), new Type(/* TOption */ 10, [Type.TInt])])]))], ["List.tryItem", new Scheme(singleton(0), new Type(/* TFun */ 11, [Type.TInt, new Type(/* TFun */ 11, [new Type(/* TList */ 5, [new Type(/* TVar */ 15, [0])]), new Type(/* TOption */ 10, [new Type(/* TVar */ 15, [0])])])]))], ["List.tryHead", new Scheme(singleton(0), new Type(/* TFun */ 11, [new Type(/* TList */ 5, [new Type(/* TVar */ 15, [0])]), new Type(/* TOption */ 10, [new Type(/* TVar */ 15, [0])])]))], ["List.tail", new Scheme(singleton(0), new Type(/* TFun */ 11, [new Type(/* TList */ 5, [new Type(/* TVar */ 15, [0])]), new Type(/* TList */ 5, [new Type(/* TVar */ 15, [0])])]))], ["List.append", new Scheme(singleton(0), new Type(/* TFun */ 11, [new Type(/* TList */ 5, [new Type(/* TVar */ 15, [0])]), new Type(/* TFun */ 11, [new Type(/* TList */ 5, [new Type(/* TVar */ 15, [0])]), new Type(/* TList */ 5, [new Type(/* TVar */ 15, [0])])])]))], ["Option.defaultValue", new Scheme(singleton(0), new Type(/* TFun */ 11, [new Type(/* TVar */ 15, [0]), new Type(/* TFun */ 11, [new Type(/* TOption */ 10, [new Type(/* TVar */ 15, [0])]), new Type(/* TVar */ 15, [0])])]))], ["Option.defaultWith", new Scheme(singleton(0), new Type(/* TFun */ 11, [new Type(/* TFun */ 11, [Type.TUnit, new Type(/* TVar */ 15, [0])]), new Type(/* TFun */ 11, [new Type(/* TOption */ 10, [new Type(/* TVar */ 15, [0])]), new Type(/* TVar */ 15, [0])])]))], ["Option.isNone", new Scheme(singleton(0), new Type(/* TFun */ 11, [new Type(/* TOption */ 10, [new Type(/* TVar */ 15, [0])]), Type.TBool]))], ["Option.isSome", new Scheme(singleton(0), new Type(/* TFun */ 11, [new Type(/* TOption */ 10, [new Type(/* TVar */ 15, [0])]), Type.TBool]))], ["Option.map", new Scheme(ofArray([0, 1]), new Type(/* TFun */ 11, [new Type(/* TFun */ 11, [new Type(/* TVar */ 15, [0]), new Type(/* TVar */ 15, [1])]), new Type(/* TFun */ 11, [new Type(/* TOption */ 10, [new Type(/* TVar */ 15, [0])]), new Type(/* TOption */ 10, [new Type(/* TVar */ 15, [1])])])]))], ["Map.empty", new Scheme(ofArray([0, 1]), new Type(/* TMap */ 9, [new Type(/* TVar */ 15, [1]), new Type(/* TVar */ 15, [0])]))], ["Map.tryGet", new Scheme(ofArray([0, 1]), new Type(/* TFun */ 11, [new Type(/* TVar */ 15, [1]), new Type(/* TFun */ 11, [new Type(/* TMap */ 9, [new Type(/* TVar */ 15, [1]), new Type(/* TVar */ 15, [0])]), new Type(/* TOption */ 10, [new Type(/* TVar */ 15, [0])])])]))], ["Map.containsKey", new Scheme(ofArray([0, 1]), new Type(/* TFun */ 11, [new Type(/* TVar */ 15, [1]), new Type(/* TFun */ 11, [new Type(/* TMap */ 9, [new Type(/* TVar */ 15, [1]), new Type(/* TVar */ 15, [0])]), Type.TBool])]))], ["Map.add", new Scheme(ofArray([0, 1]), new Type(/* TFun */ 11, [new Type(/* TVar */ 15, [1]), new Type(/* TFun */ 11, [new Type(/* TVar */ 15, [0]), new Type(/* TFun */ 11, [new Type(/* TMap */ 9, [new Type(/* TVar */ 15, [1]), new Type(/* TVar */ 15, [0])]), new Type(/* TMap */ 9, [new Type(/* TVar */ 15, [1]), new Type(/* TVar */ 15, [0])])])])]))], ["Map.ofList", new Scheme(ofArray([0, 1]), new Type(/* TFun */ 11, [new Type(/* TList */ 5, [new Type(/* TTuple */ 7, [ofArray([new Type(/* TVar */ 15, [1]), new Type(/* TVar */ 15, [0])])])]), new Type(/* TMap */ 9, [new Type(/* TVar */ 15, [1]), new Type(/* TVar */ 15, [0])])]))], ["Map.fold", new Scheme(ofArray([0, 1, 2]), new Type(/* TFun */ 11, [new Type(/* TFun */ 11, [new Type(/* TVar */ 15, [2]), new Type(/* TFun */ 11, [new Type(/* TVar */ 15, [1]), new Type(/* TFun */ 11, [new Type(/* TVar */ 15, [0]), new Type(/* TVar */ 15, [2])])])]), new Type(/* TFun */ 11, [new Type(/* TVar */ 15, [2]), new Type(/* TFun */ 11, [new Type(/* TMap */ 9, [new Type(/* TVar */ 15, [1]), new Type(/* TVar */ 15, [0])]), new Type(/* TVar */ 15, [2])])])]))], ["Map.count", new Scheme(ofArray([0, 1]), new Type(/* TFun */ 11, [new Type(/* TMap */ 9, [new Type(/* TVar */ 15, [1]), new Type(/* TVar */ 15, [0])]), Type.TInt]))], ["Map.filter", new Scheme(ofArray([0, 1]), new Type(/* TFun */ 11, [new Type(/* TFun */ 11, [new Type(/* TVar */ 15, [1]), new Type(/* TFun */ 11, [new Type(/* TVar */ 15, [0]), Type.TBool])]), new Type(/* TFun */ 11, [new Type(/* TMap */ 9, [new Type(/* TVar */ 15, [1]), new Type(/* TVar */ 15, [0])]), new Type(/* TMap */ 9, [new Type(/* TVar */ 15, [1]), new Type(/* TVar */ 15, [0])])])]))], ["Map.choose", new Scheme(ofArray([0, 1, 2]), new Type(/* TFun */ 11, [new Type(/* TFun */ 11, [new Type(/* TVar */ 15, [1]), new Type(/* TFun */ 11, [new Type(/* TVar */ 15, [0]), new Type(/* TOption */ 10, [new Type(/* TVar */ 15, [2])])])]), new Type(/* TFun */ 11, [new Type(/* TMap */ 9, [new Type(/* TVar */ 15, [1]), new Type(/* TVar */ 15, [0])]), new Type(/* TMap */ 9, [new Type(/* TVar */ 15, [1]), new Type(/* TVar */ 15, [2])])])]))], ["Map.map", new Scheme(ofArray([0, 1, 2]), new Type(/* TFun */ 11, [new Type(/* TFun */ 11, [new Type(/* TVar */ 15, [0]), new Type(/* TVar */ 15, [2])]), new Type(/* TFun */ 11, [new Type(/* TMap */ 9, [new Type(/* TVar */ 15, [1]), new Type(/* TVar */ 15, [0])]), new Type(/* TMap */ 9, [new Type(/* TVar */ 15, [1]), new Type(/* TVar */ 15, [2])])])]))], ["Map.iter", new Scheme(ofArray([0, 1]), new Type(/* TFun */ 11, [new Type(/* TFun */ 11, [new Type(/* TVar */ 15, [1]), new Type(/* TFun */ 11, [new Type(/* TVar */ 15, [0]), Type.TUnit])]), new Type(/* TFun */ 11, [new Type(/* TMap */ 9, [new Type(/* TVar */ 15, [1]), new Type(/* TVar */ 15, [0])]), Type.TUnit])]))], ["Map.remove", new Scheme(ofArray([0, 1]), new Type(/* TFun */ 11, [new Type(/* TVar */ 15, [1]), new Type(/* TFun */ 11, [new Type(/* TMap */ 9, [new Type(/* TVar */ 15, [1]), new Type(/* TVar */ 15, [0])]), new Type(/* TMap */ 9, [new Type(/* TVar */ 15, [1]), new Type(/* TVar */ 15, [0])])])]))]]), {
|
|
11
11
|
Compare: (x, y) => (comparePrimitives(x, y) | 0),
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
|
|
2
2
|
import { Span, Position } from "./Span.js";
|
|
3
3
|
import { TypeDef, TypeRef } from "./Ast.js";
|
|
4
|
-
import { empty, ofArray } from "../fable_modules/fable-library-js.5.
|
|
4
|
+
import { empty, ofArray } from "../fable_modules/fable-library-js.5.24.0/List.js";
|
|
5
5
|
|
|
6
6
|
const unknownSpan = new Span(new Position(undefined, 0, 0), new Position(undefined, 0, 0));
|
|
7
7
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
|
|
2
|
-
import { FSharpException, Record } from "../fable_modules/fable-library-js.5.
|
|
3
|
-
import { class_type, record_type, string_type } from "../fable_modules/fable-library-js.5.
|
|
2
|
+
import { FSharpException, Record } from "../fable_modules/fable-library-js.5.24.0/Types.js";
|
|
3
|
+
import { class_type, record_type, string_type } from "../fable_modules/fable-library-js.5.24.0/Reflection.js";
|
|
4
4
|
import { Span_$reflection } from "./Span.js";
|
|
5
5
|
|
|
6
6
|
export class ParseError extends Record {
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
|
|
2
|
-
import { toString, FSharpRef, Record } from "../fable_modules/fable-library-js.5.
|
|
3
|
-
import { option_type, array_type, bool_type, obj_type, record_type, int32_type, class_type, string_type } from "../fable_modules/fable-library-js.5.
|
|
2
|
+
import { toString, FSharpRef, Record } from "../fable_modules/fable-library-js.5.24.0/Types.js";
|
|
3
|
+
import { option_type, array_type, bool_type, obj_type, record_type, int32_type, class_type, string_type } from "../fable_modules/fable-library-js.5.24.0/Reflection.js";
|
|
4
4
|
import { Scheme as Scheme_1, Type, Types_typeToString, Type_$reflection } from "./Types.js";
|
|
5
5
|
import { ExternalFunction, ExternalCallContext, MapKey, Value, TaskHandle_$reflection, Value_$reflection } from "./Value.js";
|
|
6
6
|
import { EvalException, EvalError$, EvalError$_$reflection } from "./Error.js";
|
|
7
7
|
import { Span, Position } from "./Span.js";
|
|
8
|
-
import { printf, toText, join, concat } from "../fable_modules/fable-library-js.5.
|
|
9
|
-
import { curry2, Exception, defaultOf, disposeSafe, getEnumerator, equals as equals_1, compare, comparePrimitives, int64ToString } from "../fable_modules/fable-library-js.5.
|
|
10
|
-
import { ofArray, collect, tryFindIndex, choose, tryFind as tryFind_1, tryPick as tryPick_1, reverse, append, zip, fold as fold_1, singleton, forAll as forAll_1, empty, cons, tail as tail_2, head as head_1, isEmpty, forAll2, length, map } from "../fable_modules/fable-library-js.5.
|
|
11
|
-
import { keys, map as map_1, containsKey, FSharpMap__Add, fold, empty as empty_1, FSharpMap__Remove, FSharpMap__get_IsEmpty, FSharpMap__ContainsKey, add, FSharpMap__TryFind, tryFind, toSeq, ofList, FSharpMap__get_Item, forAll, FSharpMap__get_Keys, FSharpMap__get_Count, toList } from "../fable_modules/fable-library-js.5.
|
|
12
|
-
import { compare as compare_1, op_Modulus, op_Division, op_Multiply, op_Subtraction, op_Addition, toInt64_unchecked, equals } from "../fable_modules/fable-library-js.5.
|
|
13
|
-
import { contains, ofSeq } from "../fable_modules/fable-library-js.5.
|
|
8
|
+
import { printf, toText, join, concat } from "../fable_modules/fable-library-js.5.24.0/String.js";
|
|
9
|
+
import { curry2, Exception, defaultOf, disposeSafe, getEnumerator, equals as equals_1, compare, comparePrimitives, int64ToString } from "../fable_modules/fable-library-js.5.24.0/Util.js";
|
|
10
|
+
import { ofArray, collect, tryFindIndex, choose, tryFind as tryFind_1, tryPick as tryPick_1, reverse, append, zip, fold as fold_1, singleton, forAll as forAll_1, empty, cons, tail as tail_2, head as head_1, isEmpty, forAll2, length, map } from "../fable_modules/fable-library-js.5.24.0/List.js";
|
|
11
|
+
import { keys, map as map_1, containsKey, FSharpMap__Add, fold, empty as empty_1, FSharpMap__Remove, FSharpMap__get_IsEmpty, FSharpMap__ContainsKey, add, FSharpMap__TryFind, tryFind, toSeq, ofList, FSharpMap__get_Item, forAll, FSharpMap__get_Keys, FSharpMap__get_Count, toList } from "../fable_modules/fable-library-js.5.24.0/Map.js";
|
|
12
|
+
import { compare as compare_1, op_Modulus, op_Division, op_Multiply, op_Subtraction, op_Addition, toInt64_unchecked, equals } from "../fable_modules/fable-library-js.5.24.0/BigInt.js";
|
|
13
|
+
import { contains, ofSeq } from "../fable_modules/fable-library-js.5.24.0/Set.js";
|
|
14
14
|
import { ofExterns, typeDefinitions, invoke, prepareCall, matches, $007CRecordFields$007C_$007C } from "./HostInterop.js";
|
|
15
15
|
import { Ast_spanOfExpr, Expr, Ast_spanOfPattern, TypeRef } from "./Ast.js";
|
|
16
|
-
import { toList as toList_1, filter, length as length_1, foldBack, head as head_2, exists, tryPick } from "../fable_modules/fable-library-js.5.
|
|
17
|
-
import { some, toArray } from "../fable_modules/fable-library-js.5.
|
|
16
|
+
import { toList as toList_1, filter, length as length_1, foldBack, head as head_2, exists, tryPick } from "../fable_modules/fable-library-js.5.24.0/Seq.js";
|
|
17
|
+
import { some, toArray } from "../fable_modules/fable-library-js.5.24.0/Option.js";
|
|
18
18
|
import { Execution_fold, Execution_map, Execution_execution, Execution_Builder__For_Z3A5BE4A, Execution$1__get_IsImmediate, Execution$1, Execution_run } from "./Execution.js";
|
|
19
19
|
import { awaitTask, spawn } from "./TaskFunctions.js";
|
|
20
20
|
import { builtinExterns, tryExecution } from "./BuiltinFunctions.js";
|
|
21
|
-
import { StringBuilder__Append_Z721C83C5, StringBuilder_$ctor } from "../fable_modules/fable-library-js.5.
|
|
21
|
+
import { StringBuilder__Append_Z721C83C5, StringBuilder_$ctor } from "../fable_modules/fable-library-js.5.24.0/System.Text.js";
|
|
22
22
|
import { builtinReservedNames } from "./BuiltinSignatures.js";
|
|
23
23
|
import { typeDefs as typeDefs_2 } from "./BuiltinTypes.js";
|
|
24
24
|
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
|
|
2
|
-
import { Record, Union } from "../fable_modules/fable-library-js.5.
|
|
3
|
-
import { record_type, union_type, class_type, lambda_type, unit_type } from "../fable_modules/fable-library-js.5.
|
|
4
|
-
import { Exception, disposeSafe, getEnumerator, defaultOf } from "../fable_modules/fable-library-js.5.
|
|
5
|
-
import { FSharpChoice$2 } from "../fable_modules/fable-library-js.5.
|
|
6
|
-
import { value as value_11, some, defaultArg } from "../fable_modules/fable-library-js.5.
|
|
7
|
-
import { cons, empty, singleton, ofSeq, ofArray, head as head_1, tail as tail_1, isEmpty } from "../fable_modules/fable-library-js.5.
|
|
2
|
+
import { Record, Union } from "../fable_modules/fable-library-js.5.24.0/Types.js";
|
|
3
|
+
import { record_type, union_type, class_type, lambda_type, unit_type } from "../fable_modules/fable-library-js.5.24.0/Reflection.js";
|
|
4
|
+
import { Exception, disposeSafe, getEnumerator, defaultOf } from "../fable_modules/fable-library-js.5.24.0/Util.js";
|
|
5
|
+
import { FSharpChoice$2 } from "../fable_modules/fable-library-js.5.24.0/Choice.js";
|
|
6
|
+
import { value as value_11, some, defaultArg } from "../fable_modules/fable-library-js.5.24.0/Option.js";
|
|
7
|
+
import { cons, empty, singleton, ofSeq, ofArray, head as head_1, tail as tail_1, isEmpty } from "../fable_modules/fable-library-js.5.24.0/List.js";
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
10
|
* Continuations and exception scopes are data, rather than suspended CLR stacks.
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
|
|
2
|
-
import { Record } from "../fable_modules/fable-library-js.5.
|
|
3
|
-
import { record_type, list_type, string_type } from "../fable_modules/fable-library-js.5.
|
|
2
|
+
import { Record } from "../fable_modules/fable-library-js.5.24.0/Types.js";
|
|
3
|
+
import { record_type, list_type, string_type } from "../fable_modules/fable-library-js.5.24.0/Reflection.js";
|
|
4
4
|
import { Type_$reflection } from "./Types.js";
|
|
5
|
-
import { choose, singleton, collect, length, isEmpty, empty, reverse, cons } from "../fable_modules/fable-library-js.5.
|
|
6
|
-
import { comparePrimitives, Exception } from "../fable_modules/fable-library-js.5.
|
|
7
|
-
import { ofList } from "../fable_modules/fable-library-js.5.
|
|
5
|
+
import { choose, singleton, collect, length, isEmpty, empty, reverse, cons } from "../fable_modules/fable-library-js.5.24.0/List.js";
|
|
6
|
+
import { comparePrimitives, Exception } from "../fable_modules/fable-library-js.5.24.0/Util.js";
|
|
7
|
+
import { ofList } from "../fable_modules/fable-library-js.5.24.0/Map.js";
|
|
8
8
|
|
|
9
9
|
export class ExportedFunctionSignature extends Record {
|
|
10
10
|
constructor(Name, ParameterNames, ParameterTypes, ReturnType) {
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
|
|
2
2
|
import { Span, Position } from "./Span.js";
|
|
3
3
|
import { EvalException, EvalError$ } from "./Error.js";
|
|
4
|
-
import { tail as tail_1, head, isEmpty as isEmpty_1, iterate2, iterate as iterate_1, tryFind as tryFind_1, forAll2, length, forAll as forAll_1, contains, map, ofArray, append, empty as empty_1 } from "../fable_modules/fable-library-js.5.
|
|
4
|
+
import { tail as tail_1, head, isEmpty as isEmpty_1, iterate2, iterate as iterate_1, tryFind as tryFind_1, forAll2, length, forAll as forAll_1, contains, map, ofArray, append, empty as empty_1 } from "../fable_modules/fable-library-js.5.24.0/List.js";
|
|
5
5
|
import { Value, HostManagedValue, ExtensionRegistration } from "./Value.js";
|
|
6
6
|
import { typeDefs } from "./BuiltinTypes.js";
|
|
7
|
-
import { FSharpMap__get_Item, iterate, map as map_1, FSharpMap__get_Count, FSharpMap__TryFind, tryFind, forAll, exists, FSharpMap__get_IsEmpty, FSharpMap__Add, containsKey, empty as empty_2 } from "../fable_modules/fable-library-js.5.
|
|
8
|
-
import { curry2, stringHash, disposeSafe, getEnumerator, comparePrimitives } from "../fable_modules/fable-library-js.5.
|
|
9
|
-
import { concat, isNullOrWhiteSpace } from "../fable_modules/fable-library-js.5.
|
|
7
|
+
import { FSharpMap__get_Item, iterate, map as map_1, FSharpMap__get_Count, FSharpMap__TryFind, tryFind, forAll, exists, FSharpMap__get_IsEmpty, FSharpMap__Add, containsKey, empty as empty_2 } from "../fable_modules/fable-library-js.5.24.0/Map.js";
|
|
8
|
+
import { curry2, stringHash, disposeSafe, getEnumerator, comparePrimitives } from "../fable_modules/fable-library-js.5.24.0/Util.js";
|
|
9
|
+
import { concat, isNullOrWhiteSpace } from "../fable_modules/fable-library-js.5.24.0/String.js";
|
|
10
10
|
import { Types_ftvType, Types_typeToString, Type } from "./Types.js";
|
|
11
|
-
import { exists as exists_1 } from "../fable_modules/fable-library-js.5.
|
|
12
|
-
import { value as value_4, toArray } from "../fable_modules/fable-library-js.5.
|
|
13
|
-
import { minElement, isEmpty } from "../fable_modules/fable-library-js.5.
|
|
14
|
-
import { min } from "../fable_modules/fable-library-js.5.
|
|
11
|
+
import { exists as exists_1 } from "../fable_modules/fable-library-js.5.24.0/Seq.js";
|
|
12
|
+
import { value as value_4, toArray } from "../fable_modules/fable-library-js.5.24.0/Option.js";
|
|
13
|
+
import { minElement, isEmpty } from "../fable_modules/fable-library-js.5.24.0/Set.js";
|
|
14
|
+
import { min } from "../fable_modules/fable-library-js.5.24.0/Double.js";
|
|
15
15
|
|
|
16
16
|
const span = new Span(new Position(undefined, 0, 0), new Position(undefined, 0, 0));
|
|
17
17
|
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
|
|
2
|
-
import { printf, toText, isNullOrWhiteSpace, concat, endsWith, substring, split, join, trimEnd, startsWith, replace, isNullOrEmpty, compare } from "../fable_modules/fable-library-js.5.
|
|
3
|
-
import { exists, choose, collect, append, map, ofArray, fold as fold_1, singleton, empty, tail as tail_2, cons, head as head_1, isEmpty, reverse } from "../fable_modules/fable-library-js.5.
|
|
4
|
-
import { fold } from "../fable_modules/fable-library-js.5.
|
|
2
|
+
import { printf, toText, isNullOrWhiteSpace, concat, endsWith, substring, split, join, trimEnd, startsWith, replace, isNullOrEmpty, compare } from "../fable_modules/fable-library-js.5.24.0/String.js";
|
|
3
|
+
import { exists, choose, collect, append, map, ofArray, fold as fold_1, singleton, empty, tail as tail_2, cons, head as head_1, isEmpty, reverse } from "../fable_modules/fable-library-js.5.24.0/List.js";
|
|
4
|
+
import { fold } from "../fable_modules/fable-library-js.5.24.0/Array.js";
|
|
5
5
|
import { ParseException, ParseError } from "./Error.js";
|
|
6
|
-
import { isLetterOrDigit, isLetter } from "../fable_modules/fable-library-js.5.
|
|
7
|
-
import { map as map_1, toList as toList_1, fold as fold_2, forAll } from "../fable_modules/fable-library-js.5.
|
|
8
|
-
import { union, toList, ofList, FSharpSet__Contains, empty as empty_1, add } from "../fable_modules/fable-library-js.5.
|
|
9
|
-
import { curry4, defaultOf, disposeSafe, getEnumerator, Exception, curry2, comparePrimitives } from "../fable_modules/fable-library-js.5.
|
|
10
|
-
import { ofSeq, empty as empty_2, add as add_1, FSharpMap__ContainsKey, FSharpMap__get_Item } from "../fable_modules/fable-library-js.5.
|
|
6
|
+
import { isLetterOrDigit, isLetter } from "../fable_modules/fable-library-js.5.24.0/Char.js";
|
|
7
|
+
import { map as map_1, toList as toList_1, fold as fold_2, forAll } from "../fable_modules/fable-library-js.5.24.0/Seq.js";
|
|
8
|
+
import { union, toList, ofList, FSharpSet__Contains, empty as empty_1, add } from "../fable_modules/fable-library-js.5.24.0/Set.js";
|
|
9
|
+
import { curry4, defaultOf, disposeSafe, getEnumerator, Exception, curry2, comparePrimitives } from "../fable_modules/fable-library-js.5.24.0/Util.js";
|
|
10
|
+
import { ofSeq, empty as empty_2, add as add_1, FSharpMap__ContainsKey, FSharpMap__get_Item } from "../fable_modules/fable-library-js.5.24.0/Map.js";
|
|
11
11
|
import { Stmt, TypeDef, InterpolatedPart, MapEntry, Param, Expr, Pattern, TypeRef } from "./Ast.js";
|
|
12
12
|
import { parseProgramWithSourceName } from "./Parser.js";
|
|
13
|
-
import { FSharpRef } from "../fable_modules/fable-library-js.5.
|
|
13
|
+
import { FSharpRef } from "../fable_modules/fable-library-js.5.24.0/Types.js";
|
|
14
14
|
import { Span, Position } from "./Span.js";
|
|
15
|
-
import { addToSet, tryGetValue } from "../fable_modules/fable-library-js.5.
|
|
15
|
+
import { addToSet, tryGetValue } from "../fable_modules/fable-library-js.5.24.0/MapUtil.js";
|
|
16
16
|
|
|
17
17
|
const pathComparison = 4;
|
|
18
18
|
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
|
|
2
|
-
import { Record } from "../fable_modules/fable-library-js.5.
|
|
2
|
+
import { Record } from "../fable_modules/fable-library-js.5.24.0/Types.js";
|
|
3
3
|
import { ExtensionRegistration, ExternalFunction, Value, ExternalFunction_$reflection, ExtensionRegistration_$reflection } from "./Value.js";
|
|
4
4
|
import { Stmt_$reflection } from "./Ast.js";
|
|
5
|
-
import { int32_type, record_type, option_type, class_type, string_type, list_type } from "../fable_modules/fable-library-js.5.
|
|
5
|
+
import { int32_type, record_type, option_type, class_type, string_type, list_type } from "../fable_modules/fable-library-js.5.24.0/Reflection.js";
|
|
6
6
|
import { evalProgramFromState, evalProgramWithRegistrationState, ProgramState_$reflection } from "./Eval.js";
|
|
7
7
|
import { inferProgramWithRegistration, TypedStmt_$reflection } from "./TypeInfer.js";
|
|
8
|
-
import { skip, reverse, append, exists, length, empty, choose, cons, fold, filter } from "../fable_modules/fable-library-js.5.
|
|
9
|
-
import { toList } from "../fable_modules/fable-library-js.5.
|
|
8
|
+
import { skip, reverse, append, exists, length, empty, choose, cons, fold, filter } from "../fable_modules/fable-library-js.5.24.0/List.js";
|
|
9
|
+
import { toList } from "../fable_modules/fable-library-js.5.24.0/Set.js";
|
|
10
10
|
import { Scheme, Types_ftvType } from "./Types.js";
|
|
11
|
-
import { values, empty as empty_1, add, fold as fold_1 } from "../fable_modules/fable-library-js.5.
|
|
12
|
-
import { comparePrimitives } from "../fable_modules/fable-library-js.5.
|
|
13
|
-
import { toList as toList_1 } from "../fable_modules/fable-library-js.5.
|
|
11
|
+
import { values, empty as empty_1, add, fold as fold_1 } from "../fable_modules/fable-library-js.5.24.0/Map.js";
|
|
12
|
+
import { comparePrimitives } from "../fable_modules/fable-library-js.5.24.0/Util.js";
|
|
13
|
+
import { toList as toList_1 } from "../fable_modules/fable-library-js.5.24.0/Seq.js";
|
|
14
14
|
import { ofExterns } from "./HostInterop.js";
|
|
15
15
|
|
|
16
16
|
export class Session extends Record {
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
|
|
2
|
-
import { isDigit, isLetterOrDigit, isLetter } from "../fable_modules/fable-library-js.5.
|
|
3
|
-
import { parse } from "../fable_modules/fable-library-js.5.
|
|
2
|
+
import { isDigit, isLetterOrDigit, isLetter } from "../fable_modules/fable-library-js.5.24.0/Char.js";
|
|
3
|
+
import { parse } from "../fable_modules/fable-library-js.5.24.0/Double.js";
|
|
4
4
|
import { Span, Position } from "./Span.js";
|
|
5
5
|
import { Token, TokenKind } from "./Token.js";
|
|
6
|
-
import { StringBuilder__Append_244C7CD6, StringBuilder_$ctor } from "../fable_modules/fable-library-js.5.
|
|
6
|
+
import { StringBuilder__Append_244C7CD6, StringBuilder_$ctor } from "../fable_modules/fable-library-js.5.24.0/System.Text.js";
|
|
7
7
|
import { ParseException, ParseError } from "./Error.js";
|
|
8
|
-
import { toString } from "../fable_modules/fable-library-js.5.
|
|
9
|
-
import { printf, toText, substring } from "../fable_modules/fable-library-js.5.
|
|
10
|
-
import { item } from "../fable_modules/fable-library-js.5.
|
|
11
|
-
import { toInt64_unchecked } from "../fable_modules/fable-library-js.5.
|
|
12
|
-
import { parse as parse_1 } from "../fable_modules/fable-library-js.5.
|
|
13
|
-
import { toList } from "../fable_modules/fable-library-js.5.
|
|
8
|
+
import { toString } from "../fable_modules/fable-library-js.5.24.0/Types.js";
|
|
9
|
+
import { printf, toText, substring } from "../fable_modules/fable-library-js.5.24.0/String.js";
|
|
10
|
+
import { item } from "../fable_modules/fable-library-js.5.24.0/Array.js";
|
|
11
|
+
import { toInt64_unchecked } from "../fable_modules/fable-library-js.5.24.0/BigInt.js";
|
|
12
|
+
import { parse as parse_1 } from "../fable_modules/fable-library-js.5.24.0/Long.js";
|
|
13
|
+
import { toList } from "../fable_modules/fable-library-js.5.24.0/Seq.js";
|
|
14
14
|
|
|
15
15
|
function isIdentStart(c) {
|
|
16
16
|
if (isLetter(c)) {
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
|
|
2
|
-
import { class_type } from "../fable_modules/fable-library-js.5.
|
|
3
|
-
import { singleton, foldBack, head as head_1, tail as tail_1, isEmpty, empty, length, item } from "../fable_modules/fable-library-js.5.
|
|
4
|
-
import { equals } from "../fable_modules/fable-library-js.5.
|
|
2
|
+
import { class_type } from "../fable_modules/fable-library-js.5.24.0/Reflection.js";
|
|
3
|
+
import { singleton, foldBack, head as head_1, tail as tail_1, isEmpty, empty, length, item } from "../fable_modules/fable-library-js.5.24.0/List.js";
|
|
4
|
+
import { equals } from "../fable_modules/fable-library-js.5.24.0/Util.js";
|
|
5
5
|
import { ParseException, ParseError } from "./Error.js";
|
|
6
6
|
import { TokenKind } from "./Token.js";
|
|
7
7
|
import { Span, SpanModule_merge } from "./Span.js";
|
|
8
|
-
import { substring, isNullOrWhiteSpace, concat, join, isNullOrEmpty } from "../fable_modules/fable-library-js.5.
|
|
9
|
-
import { isUpper } from "../fable_modules/fable-library-js.5.
|
|
8
|
+
import { substring, isNullOrWhiteSpace, concat, join, isNullOrEmpty } from "../fable_modules/fable-library-js.5.24.0/String.js";
|
|
9
|
+
import { isUpper } from "../fable_modules/fable-library-js.5.24.0/Char.js";
|
|
10
10
|
import { Ast_spanOfStmt, Attribute, MapEntry, Ast_spanOfExpr, InterpolatedPart, Expr, Ast_spanOfPattern, Pattern, Stmt, TypeDef, BackendImport, Param, TypeRef, Literal } from "./Ast.js";
|
|
11
11
|
import { tokenizeWithSourceNameAndOrigin } from "./Lexer.js";
|
|
12
|
-
import { addToSet } from "../fable_modules/fable-library-js.5.
|
|
13
|
-
import { foldBack as foldBack_1, toList } from "../fable_modules/fable-library-js.5.
|
|
14
|
-
import { StringBuilder__Append_244C7CD6, StringBuilder__Clear, StringBuilder__get_Length, StringBuilder_$ctor } from "../fable_modules/fable-library-js.5.
|
|
15
|
-
import { toString } from "../fable_modules/fable-library-js.5.
|
|
16
|
-
import { item as item_1 } from "../fable_modules/fable-library-js.5.
|
|
12
|
+
import { addToSet } from "../fable_modules/fable-library-js.5.24.0/MapUtil.js";
|
|
13
|
+
import { foldBack as foldBack_1, toList } from "../fable_modules/fable-library-js.5.24.0/Seq.js";
|
|
14
|
+
import { StringBuilder__Append_244C7CD6, StringBuilder__Clear, StringBuilder__get_Length, StringBuilder_$ctor } from "../fable_modules/fable-library-js.5.24.0/System.Text.js";
|
|
15
|
+
import { toString } from "../fable_modules/fable-library-js.5.24.0/Types.js";
|
|
16
|
+
import { item as item_1 } from "../fable_modules/fable-library-js.5.24.0/Array.js";
|
|
17
17
|
|
|
18
18
|
class TokenStream {
|
|
19
19
|
constructor(tokens) {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
|
|
2
|
-
import { length, isEmpty, map, singleton, append } from "../fable_modules/fable-library-js.5.
|
|
3
|
-
import { concat, join, printf, toText, replace } from "../fable_modules/fable-library-js.5.
|
|
4
|
-
import { int64ToString } from "../fable_modules/fable-library-js.5.
|
|
5
|
-
import { toList } from "../fable_modules/fable-library-js.5.
|
|
2
|
+
import { length, isEmpty, map, singleton, append } from "../fable_modules/fable-library-js.5.24.0/List.js";
|
|
3
|
+
import { concat, join, printf, toText, replace } from "../fable_modules/fable-library-js.5.24.0/String.js";
|
|
4
|
+
import { int64ToString } from "../fable_modules/fable-library-js.5.24.0/Util.js";
|
|
5
|
+
import { toList } from "../fable_modules/fable-library-js.5.24.0/Map.js";
|
|
6
6
|
import { Types_typeToString } from "./Types.js";
|
|
7
7
|
|
|
8
8
|
function closureParameters(firstArg, body) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
|
|
2
|
-
import { Record } from "../fable_modules/fable-library-js.5.
|
|
3
|
-
import { record_type, int32_type, option_type, string_type } from "../fable_modules/fable-library-js.5.
|
|
2
|
+
import { Record } from "../fable_modules/fable-library-js.5.24.0/Types.js";
|
|
3
|
+
import { record_type, int32_type, option_type, string_type } from "../fable_modules/fable-library-js.5.24.0/Reflection.js";
|
|
4
4
|
|
|
5
5
|
export class Position extends Record {
|
|
6
6
|
constructor(File, Line, Column) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
|
|
2
|
-
import { head, tail, isEmpty, singleton } from "../fable_modules/fable-library-js.5.
|
|
2
|
+
import { head, tail, isEmpty, singleton } from "../fable_modules/fable-library-js.5.24.0/List.js";
|
|
3
3
|
import { Scheme as Scheme_1, Type } from "./Types.js";
|
|
4
|
-
import { Exception } from "../fable_modules/fable-library-js.5.
|
|
4
|
+
import { Exception } from "../fable_modules/fable-library-js.5.24.0/Util.js";
|
|
5
5
|
import { ExternalFunction } from "./Value.js";
|
|
6
6
|
|
|
7
7
|
export const spawn = new ExternalFunction("Task.spawn", new Scheme_1(singleton(0), new Type(/* TFun */ 11, [new Type(/* TFun */ 11, [Type.TUnit, new Type(/* TVar */ 15, [0])]), new Type(/* TTask */ 6, [new Type(/* TVar */ 15, [0])])])), (context, args) => {
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
|
|
2
|
-
import { FSharpRef, Union, Record } from "../fable_modules/fable-library-js.5.
|
|
3
|
-
import { union_type, option_type, int32_type, list_type, bool_type, record_type, class_type, string_type } from "../fable_modules/fable-library-js.5.
|
|
4
|
-
import { contains, add as add_1, singleton as singleton_1, toList, FSharpSet__get_IsEmpty, difference, ofList as ofList_1, ofSeq, union, empty as empty_1 } from "../fable_modules/fable-library-js.5.
|
|
5
|
-
import { compareArrays, stringHash, clear, curry2, int32ToString, curry3, defaultOf, disposeSafe, getEnumerator, safeHash, arrayHash, equalArrays, Exception, equals, compare, comparePrimitives } from "../fable_modules/fable-library-js.5.
|
|
2
|
+
import { FSharpRef, Union, Record } from "../fable_modules/fable-library-js.5.24.0/Types.js";
|
|
3
|
+
import { union_type, option_type, int32_type, list_type, bool_type, record_type, class_type, string_type } from "../fable_modules/fable-library-js.5.24.0/Reflection.js";
|
|
4
|
+
import { contains, add as add_1, singleton as singleton_1, toList, FSharpSet__get_IsEmpty, difference, ofList as ofList_1, ofSeq, union, empty as empty_1 } from "../fable_modules/fable-library-js.5.24.0/Set.js";
|
|
5
|
+
import { compareArrays, stringHash, clear, curry2, int32ToString, curry3, defaultOf, disposeSafe, getEnumerator, safeHash, arrayHash, equalArrays, Exception, equals, compare, comparePrimitives } from "../fable_modules/fable-library-js.5.24.0/Util.js";
|
|
6
6
|
import { Span_$reflection } from "./Span.js";
|
|
7
7
|
import { ResolvedSymbolKind, ResolvedExpression_$reflection, ResolvedBinding_$reflection } from "./TypeInfer.js";
|
|
8
8
|
import { Type, Type_$reflection } from "./Types.js";
|
|
9
|
-
import { filter as filter_1, toList as toList_1, map as map_2, forAll, fold as fold_1, add, toSeq, tryFind, ofList, empty as empty_2 } from "../fable_modules/fable-library-js.5.
|
|
10
|
-
import { ofArrayWithTail, contains as contains_1, tryPick, tryItem, tryHead, ofSeq as ofSeq_1, mapIndexed, length, indexed, ofArray, append, cons, filter, choose, singleton, head, tail as tail_2, isEmpty, collect, fold, map, empty as empty_3 } from "../fable_modules/fable-library-js.5.
|
|
11
|
-
import { defaultArg } from "../fable_modules/fable-library-js.5.
|
|
12
|
-
import { sortBy, toArray, toList as toList_2, collect as collect_1, empty as empty_4, singleton as singleton_2, append as append_1, delay, map as map_1 } from "../fable_modules/fable-library-js.5.
|
|
13
|
-
import { concat, join } from "../fable_modules/fable-library-js.5.
|
|
14
|
-
import { HashSet } from "../fable_modules/fable-library-js.5.
|
|
15
|
-
import { Dictionary } from "../fable_modules/fable-library-js.5.
|
|
16
|
-
import { min, max } from "../fable_modules/fable-library-js.5.
|
|
17
|
-
import { addToSet, addToDict, tryGetValue } from "../fable_modules/fable-library-js.5.
|
|
18
|
-
import { equals as equals_1 } from "../fable_modules/fable-library-js.5.
|
|
19
|
-
import { addRangeInPlace } from "../fable_modules/fable-library-js.5.
|
|
20
|
-
import { distinct as distinct_1 } from "../fable_modules/fable-library-js.5.
|
|
9
|
+
import { filter as filter_1, toList as toList_1, map as map_2, forAll, fold as fold_1, add, toSeq, tryFind, ofList, empty as empty_2 } from "../fable_modules/fable-library-js.5.24.0/Map.js";
|
|
10
|
+
import { ofArrayWithTail, contains as contains_1, tryPick, tryItem, tryHead, ofSeq as ofSeq_1, mapIndexed, length, indexed, ofArray, append, cons, filter, choose, singleton, head, tail as tail_2, isEmpty, collect, fold, map, empty as empty_3 } from "../fable_modules/fable-library-js.5.24.0/List.js";
|
|
11
|
+
import { defaultArg } from "../fable_modules/fable-library-js.5.24.0/Option.js";
|
|
12
|
+
import { sortBy, toArray, toList as toList_2, collect as collect_1, empty as empty_4, singleton as singleton_2, append as append_1, delay, map as map_1 } from "../fable_modules/fable-library-js.5.24.0/Seq.js";
|
|
13
|
+
import { concat, join } from "../fable_modules/fable-library-js.5.24.0/String.js";
|
|
14
|
+
import { HashSet } from "../fable_modules/fable-library-js.5.24.0/MutableSet.js";
|
|
15
|
+
import { Dictionary } from "../fable_modules/fable-library-js.5.24.0/MutableMap.js";
|
|
16
|
+
import { min, max } from "../fable_modules/fable-library-js.5.24.0/Double.js";
|
|
17
|
+
import { addToSet, addToDict, tryGetValue } from "../fable_modules/fable-library-js.5.24.0/MapUtil.js";
|
|
18
|
+
import { equals as equals_1 } from "../fable_modules/fable-library-js.5.24.0/BigInt.js";
|
|
19
|
+
import { addRangeInPlace } from "../fable_modules/fable-library-js.5.24.0/Array.js";
|
|
20
|
+
import { distinct as distinct_1 } from "../fable_modules/fable-library-js.5.24.0/Seq2.js";
|
|
21
21
|
import { builtinSchemes } from "./BuiltinSignatures.js";
|
|
22
|
-
import { rangeDouble } from "../fable_modules/fable-library-js.5.
|
|
22
|
+
import { rangeDouble } from "../fable_modules/fable-library-js.5.24.0/Range.js";
|
|
23
23
|
|
|
24
24
|
export class Options extends Record {
|
|
25
25
|
constructor(ThreadSafeTypes, ThreadSafeFunctions) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
|
|
2
|
-
import { Record, Union } from "../fable_modules/fable-library-js.5.
|
|
3
|
-
import { record_type, union_type, bool_type, float64_type, int64_type, string_type } from "../fable_modules/fable-library-js.5.
|
|
2
|
+
import { Record, Union } from "../fable_modules/fable-library-js.5.24.0/Types.js";
|
|
3
|
+
import { record_type, union_type, bool_type, float64_type, int64_type, string_type } from "../fable_modules/fable-library-js.5.24.0/Reflection.js";
|
|
4
4
|
import { Span_$reflection } from "./Span.js";
|
|
5
5
|
|
|
6
6
|
export class TokenKind extends Union {
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
|
|
2
2
|
import { Span_$reflection, Span, Position } from "./Span.js";
|
|
3
|
-
import { find as find_1, toSeq, containsKey, iterate as iterate_2, FSharpMap__Add, values as values_4, FSharpMap__get_Keys, keys, toList, FSharpMap__get_Item, FSharpMap__get_Count, forAll, FSharpMap__ContainsKey, filter, ofList, exists as exists_1, add, fold as fold_1, remove, map, FSharpMap__TryFind, tryFind, isEmpty, empty } from "../fable_modules/fable-library-js.5.
|
|
4
|
-
import { curry2, curry3, uncurry2, compare, disposeSafe, getEnumerator, Exception, stringHash, compareArrays, equals, comparePrimitives } from "../fable_modules/fable-library-js.5.
|
|
3
|
+
import { find as find_1, toSeq, containsKey, iterate as iterate_2, FSharpMap__Add, values as values_4, FSharpMap__get_Keys, keys, toList, FSharpMap__get_Item, FSharpMap__get_Count, forAll, FSharpMap__ContainsKey, filter, ofList, exists as exists_1, add, fold as fold_1, remove, map, FSharpMap__TryFind, tryFind, isEmpty, empty } from "../fable_modules/fable-library-js.5.24.0/Map.js";
|
|
4
|
+
import { curry2, curry3, uncurry2, compare, disposeSafe, getEnumerator, Exception, stringHash, compareArrays, equals, comparePrimitives } from "../fable_modules/fable-library-js.5.24.0/Util.js";
|
|
5
5
|
import { PurityContractsModule_empty, Types_generalize, Types_freshNumeric, PurityContracts_$reflection, Scheme_$reflection, Type_$reflection, Types_freshVar, Types_typeToString, Scheme, Type as Type_1 } from "./Types.js";
|
|
6
|
-
import { exactlyOne, replicate, map2, sortBy, mapIndexed, tryFind as tryFind_1, indexed, collect, unzip, append, reverse, iterate, tryFindIndex, choose, tail as tail_9, cons, head as head_4, isEmpty as isEmpty_1, empty as empty_2, ofArray, singleton, zip, length, exists, fold, map as map_1 } from "../fable_modules/fable-library-js.5.
|
|
7
|
-
import { toList as toList_2, ofSeq, contains, add as add_1, empty as empty_1, FSharpSet__Add, FSharpSet__Contains } from "../fable_modules/fable-library-js.5.
|
|
6
|
+
import { exactlyOne, replicate, map2, sortBy, mapIndexed, tryFind as tryFind_1, indexed, collect, unzip, append, reverse, iterate, tryFindIndex, choose, tail as tail_9, cons, head as head_4, isEmpty as isEmpty_1, empty as empty_2, ofArray, singleton, zip, length, exists, fold, map as map_1 } from "../fable_modules/fable-library-js.5.24.0/List.js";
|
|
7
|
+
import { toList as toList_2, ofSeq, contains, add as add_1, empty as empty_1, FSharpSet__Add, FSharpSet__Contains } from "../fable_modules/fable-library-js.5.24.0/Set.js";
|
|
8
8
|
import { EvalException, TypeException, TypeError$ } from "./Error.js";
|
|
9
|
-
import { endsWith, split, join, concat, isNullOrWhiteSpace, printf, toText } from "../fable_modules/fable-library-js.5.
|
|
10
|
-
import { orElse, value as value_42, toArray, flatten, defaultArg } from "../fable_modules/fable-library-js.5.
|
|
11
|
-
import { Union, Record } from "../fable_modules/fable-library-js.5.
|
|
9
|
+
import { endsWith, split, join, concat, isNullOrWhiteSpace, printf, toText } from "../fable_modules/fable-library-js.5.24.0/String.js";
|
|
10
|
+
import { orElse, value as value_42, toArray, flatten, defaultArg } from "../fable_modules/fable-library-js.5.24.0/Option.js";
|
|
11
|
+
import { Union, Record } from "../fable_modules/fable-library-js.5.24.0/Types.js";
|
|
12
12
|
import { Attribute, Expr, Ast_spanOfPattern, Ast_spanOfExpr, Attribute_$reflection, BackendImport_$reflection, Pattern_$reflection, TypeDef_$reflection, Expr_$reflection } from "./Ast.js";
|
|
13
|
-
import { array_type, class_type, tuple_type, list_type, bool_type, float64_type, int64_type, option_type, union_type, int32_type, string_type, record_type } from "../fable_modules/fable-library-js.5.
|
|
14
|
-
import { exists as exists_2, forAll as forAll_1, tryPick, tryFind as tryFind_2, find, foldBack, iterate as iterate_1, filter as filter_1, map as map_2, toList as toList_1 } from "../fable_modules/fable-library-js.5.
|
|
15
|
-
import { last as last_2, setItem, item as item_26 } from "../fable_modules/fable-library-js.5.
|
|
16
|
-
import { distinct } from "../fable_modules/fable-library-js.5.
|
|
13
|
+
import { array_type, class_type, tuple_type, list_type, bool_type, float64_type, int64_type, option_type, union_type, int32_type, string_type, record_type } from "../fable_modules/fable-library-js.5.24.0/Reflection.js";
|
|
14
|
+
import { exists as exists_2, forAll as forAll_1, tryPick, tryFind as tryFind_2, find, foldBack, iterate as iterate_1, filter as filter_1, map as map_2, toList as toList_1 } from "../fable_modules/fable-library-js.5.24.0/Seq.js";
|
|
15
|
+
import { last as last_2, setItem, item as item_26 } from "../fable_modules/fable-library-js.5.24.0/Array.js";
|
|
16
|
+
import { distinct } from "../fable_modules/fable-library-js.5.24.0/Seq2.js";
|
|
17
17
|
import { builtinReservedNames, builtinSchemes } from "./BuiltinSignatures.js";
|
|
18
18
|
import { ofExterns, typeDefinitions } from "./HostInterop.js";
|
|
19
19
|
import { typeDefs as typeDefs_2 } from "./BuiltinTypes.js";
|
|
20
|
-
import { rangeDouble } from "../fable_modules/fable-library-js.5.
|
|
20
|
+
import { rangeDouble } from "../fable_modules/fable-library-js.5.24.0/Range.js";
|
|
21
21
|
|
|
22
22
|
const unknownSpan = new Span(new Position(undefined, 0, 0), new Position(undefined, 0, 0));
|
|
23
23
|
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
|
|
2
|
-
import { Record, Union } from "../fable_modules/fable-library-js.5.
|
|
3
|
-
import { record_type, union_type, bool_type, int32_type, option_type, class_type, string_type, list_type } from "../fable_modules/fable-library-js.5.
|
|
4
|
-
import { toList, isEmpty, ofList, difference, singleton, add, union, empty } from "../fable_modules/fable-library-js.5.
|
|
5
|
-
import { Exception, comparePrimitives } from "../fable_modules/fable-library-js.5.
|
|
6
|
-
import { empty as empty_1, fold, map } from "../fable_modules/fable-library-js.5.
|
|
7
|
-
import { fold as fold_1, map as map_1 } from "../fable_modules/fable-library-js.5.
|
|
8
|
-
import { toList as toList_1, values } from "../fable_modules/fable-library-js.5.
|
|
9
|
-
import { join, printf, toText } from "../fable_modules/fable-library-js.5.
|
|
2
|
+
import { Record, Union } from "../fable_modules/fable-library-js.5.24.0/Types.js";
|
|
3
|
+
import { record_type, union_type, bool_type, int32_type, option_type, class_type, string_type, list_type } from "../fable_modules/fable-library-js.5.24.0/Reflection.js";
|
|
4
|
+
import { toList, isEmpty, ofList, difference, singleton, add, union, empty } from "../fable_modules/fable-library-js.5.24.0/Set.js";
|
|
5
|
+
import { Exception, comparePrimitives } from "../fable_modules/fable-library-js.5.24.0/Util.js";
|
|
6
|
+
import { empty as empty_1, fold, map } from "../fable_modules/fable-library-js.5.24.0/List.js";
|
|
7
|
+
import { fold as fold_1, map as map_1 } from "../fable_modules/fable-library-js.5.24.0/Seq.js";
|
|
8
|
+
import { toList as toList_1, values } from "../fable_modules/fable-library-js.5.24.0/Map.js";
|
|
9
|
+
import { join, printf, toText } from "../fable_modules/fable-library-js.5.24.0/String.js";
|
|
10
10
|
|
|
11
11
|
export class Type extends Union {
|
|
12
12
|
constructor(tag, fields) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
|
|
2
|
-
import { Record, FSharpRef, Union } from "../fable_modules/fable-library-js.5.
|
|
3
|
-
import { int32_type, lambda_type, unit_type, obj_type, record_type, option_type, class_type, list_type, float64_type, union_type, bool_type, int64_type, string_type } from "../fable_modules/fable-library-js.5.
|
|
2
|
+
import { Record, FSharpRef, Union } from "../fable_modules/fable-library-js.5.24.0/Types.js";
|
|
3
|
+
import { int32_type, lambda_type, unit_type, obj_type, record_type, option_type, class_type, list_type, float64_type, union_type, bool_type, int64_type, string_type } from "../fable_modules/fable-library-js.5.24.0/Reflection.js";
|
|
4
4
|
import { HostUnionDescriptor_$reflection, Scheme_$reflection, HostTypeDescriptor_$reflection, Type_$reflection } from "./Types.js";
|
|
5
5
|
import { Expr_$reflection } from "./Ast.js";
|
|
6
6
|
import { EvalError$_$reflection } from "./Error.js";
|