@explorable-viz/fluid 0.11.3 → 0.12.1
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/README.md +22 -9
- package/dist/fluid/fluid/lib/graphics.fld +60 -60
- package/dist/fluid/fluid/lib/matrix.fld +17 -17
- package/dist/fluid/fluid/lib/prelude.fld +36 -35
- package/dist/fluid/fluid/lib/stats.fld +19 -19
- package/dist/fluid/shared/fluid.mjs +1044 -2141
- package/dist/fluid/shared/load-figure.js +1118 -2142
- package/dist/fluid/shared/webtest-lib.js +124 -124
- package/package.json +2 -2
- package/website/article/fluid/1805.02474v1-10.fld +2 -2
- package/website/article/fluid/bar-chart-line-chart.fld +1 -1
- package/website/article/fluid/convolution.fld +14 -18
- package/website/article/fluid/dataset/scigen/_1805_02474v1_10.fld +1 -1
- package/website/article/fluid/methane_data.fld +1 -1
- package/website/article/fluid/moving-average.fld +1 -1
- package/website/article/fluid/non-renewables.fld +1 -1
- package/website/article/fluid/nonRenewables.fld +2 -2
- package/website/article/fluid/renewables.fld +1 -1
- package/website/article/fluid/scigen.fld +3 -3
- package/website/article/fluid/util.fld +4 -4
- package/.spago/aff/v7.0.0/.editorconfig +0 -13
- package/.spago/aff/v7.0.0/.eslintrc.json +0 -28
- package/.spago/aff/v7.0.0/.gitignore +0 -14
- package/.spago/aff/v7.0.0/.tidyrc.json +0 -10
- package/.spago/argonaut-codecs/v9.0.0/.editorconfig +0 -13
- package/.spago/argonaut-codecs/v9.0.0/.gitignore +0 -9
- package/.spago/argonaut-codecs/v9.0.0/.tidyrc.json +0 -10
- package/.spago/arrays/v7.0.0/.eslintrc.json +0 -26
- package/.spago/arrays/v7.0.0/.gitignore +0 -9
- package/.spago/console/v6.0.0/.eslintrc.json +0 -30
- package/.spago/console/v6.0.0/.gitignore +0 -9
- package/.spago/debug/v6.0.0/.eslintrc.json +0 -36
- package/.spago/debug/v6.0.0/.gitignore +0 -8
- package/.spago/enums/v6.0.0/.gitignore +0 -7
- package/.spago/foreign-object/v4.0.0/.eslintrc.json +0 -26
- package/.spago/foreign-object/v4.0.0/.gitignore +0 -8
- package/.spago/free/v7.0.0/.gitignore +0 -8
- package/.spago/graphs/v8.0.0/.gitignore +0 -7
- package/.spago/js-uri/v3.0.0/.eslintrc.json +0 -30
- package/.spago/js-uri/v3.0.0/.gitignore +0 -14
- package/.spago/js-uri/v3.0.0/.tidyrc.json +0 -10
- package/.spago/node-buffer/v8.0.0/.eslintrc.json +0 -26
- package/.spago/node-buffer/v8.0.0/.gitignore +0 -8
- package/.spago/node-child-process/v9.0.0/.eslintrc.json +0 -29
- package/.spago/node-child-process/v9.0.0/.gitignore +0 -8
- package/.spago/node-process/v10.0.0/.eslintrc.json +0 -29
- package/.spago/node-process/v10.0.0/.gitignore +0 -8
- package/.spago/node-streams/v7.0.0/.eslintrc.json +0 -29
- package/.spago/node-streams/v7.0.0/.gitignore +0 -8
- package/.spago/optparse/v5.0.0/.gitignore +0 -8
- package/.spago/optparse/v5.0.0/.npmrc +0 -1
- package/.spago/ordered-collections/v3.0.0/.gitignore +0 -8
- package/.spago/parallel/v6.0.0/.gitignore +0 -7
- package/.spago/parsing/v10.0.0/.editorconfig +0 -13
- package/.spago/parsing/v10.0.0/.gitignore +0 -10
- package/.spago/parsing/v10.0.0/.tidyoperators +0 -231
- package/.spago/parsing/v10.0.0/.tidyrc.json +0 -10
- package/.spago/prelude/v6.0.0/.eslintrc.json +0 -26
- package/.spago/prelude/v6.0.0/.gitignore +0 -8
- package/.spago/st/v6.0.0/.eslintrc.json +0 -26
- package/.spago/st/v6.0.0/.gitignore +0 -8
- package/.spago/strings/v6.0.0/.eslintrc.json +0 -26
- package/.spago/strings/v6.0.0/.gitignore +0 -8
- package/.spago/tailrec/v6.0.0/.gitignore +0 -7
- package/.spago/web-html/v4.0.0/.eslintrc.json +0 -29
- package/.spago/web-html/v4.0.0/.gitignore +0 -8
- package/.spago/web-xhr/v5.0.0/.eslintrc.json +0 -29
- package/.spago/web-xhr/v5.0.0/.gitignore +0 -8
- package/website/article/.DS_Store +0 -0
- package/website/article/dataset/.DS_Store +0 -0
|
@@ -17,14 +17,14 @@ def findIndex(fName, x, y :| ys):
|
|
|
17
17
|
else:
|
|
18
18
|
findIndex(fName, x, ys) + 1
|
|
19
19
|
|
|
20
|
-
def
|
|
21
|
-
|
|
20
|
+
def find_with_key_(fName, x, table):
|
|
21
|
+
from_some(find_with_key(fName, x, table))
|
|
22
22
|
|
|
23
23
|
def findWhere(pred, table):
|
|
24
|
-
|
|
24
|
+
from_some(find(pred, table))
|
|
25
25
|
|
|
26
26
|
def model(m, t):
|
|
27
|
-
|
|
27
|
+
find_with_key_("model", m, t)
|
|
28
28
|
|
|
29
29
|
def maximumBy(f, []):
|
|
30
30
|
error("Empty list!")
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"extends": "eslint:recommended",
|
|
3
|
-
"parserOptions": { "ecmaVersion": 6, "sourceType": "module" },
|
|
4
|
-
"rules": {
|
|
5
|
-
"block-scoped-var": "error",
|
|
6
|
-
"consistent-return": "error",
|
|
7
|
-
"eqeqeq": "error",
|
|
8
|
-
"guard-for-in": "error",
|
|
9
|
-
"no-bitwise": "error",
|
|
10
|
-
"no-caller": "error",
|
|
11
|
-
"no-constant-condition": ["error", { "checkLoops": false }],
|
|
12
|
-
"no-extra-parens": "off",
|
|
13
|
-
"no-extend-native": "error",
|
|
14
|
-
"no-new": "error",
|
|
15
|
-
"no-param-reassign": "error",
|
|
16
|
-
"no-return-assign": "error",
|
|
17
|
-
"no-sequences": "error",
|
|
18
|
-
"no-unused-expressions": "error",
|
|
19
|
-
"no-use-before-define": "error",
|
|
20
|
-
"no-undef": "error",
|
|
21
|
-
"no-eq-null": "error",
|
|
22
|
-
"radix": ["error", "always"],
|
|
23
|
-
"indent": ["error", 2, { "SwitchCase": 0 }],
|
|
24
|
-
"quotes": ["error", "double"],
|
|
25
|
-
"semi": ["error", "always"],
|
|
26
|
-
"strict": ["error", "global"]
|
|
27
|
-
}
|
|
28
|
-
}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"parserOptions": {
|
|
3
|
-
"ecmaVersion": 6,
|
|
4
|
-
"sourceType": "module"
|
|
5
|
-
},
|
|
6
|
-
"extends": "eslint:recommended",
|
|
7
|
-
"rules": {
|
|
8
|
-
"strict": [2, "global"],
|
|
9
|
-
"block-scoped-var": 2,
|
|
10
|
-
"consistent-return": 2,
|
|
11
|
-
"eqeqeq": [2, "smart"],
|
|
12
|
-
"guard-for-in": 2,
|
|
13
|
-
"no-caller": 2,
|
|
14
|
-
"no-extend-native": 2,
|
|
15
|
-
"no-loop-func": 2,
|
|
16
|
-
"no-new": 2,
|
|
17
|
-
"no-param-reassign": 2,
|
|
18
|
-
"no-return-assign": 2,
|
|
19
|
-
"no-unused-expressions": 2,
|
|
20
|
-
"no-use-before-define": 2,
|
|
21
|
-
"radix": [2, "always"],
|
|
22
|
-
"indent": [2, 2],
|
|
23
|
-
"quotes": [2, "double"],
|
|
24
|
-
"semi": [2, "always"]
|
|
25
|
-
}
|
|
26
|
-
}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"parserOptions": {
|
|
3
|
-
"ecmaVersion": 6,
|
|
4
|
-
"sourceType": "module"
|
|
5
|
-
},
|
|
6
|
-
"extends": "eslint:recommended",
|
|
7
|
-
"globals": {
|
|
8
|
-
"console": true
|
|
9
|
-
},
|
|
10
|
-
"rules": {
|
|
11
|
-
"strict": [2, "global"],
|
|
12
|
-
"block-scoped-var": 2,
|
|
13
|
-
"consistent-return": 2,
|
|
14
|
-
"eqeqeq": [2, "smart"],
|
|
15
|
-
"guard-for-in": 2,
|
|
16
|
-
"no-caller": 2,
|
|
17
|
-
"no-extend-native": 2,
|
|
18
|
-
"no-loop-func": 2,
|
|
19
|
-
"no-new": 2,
|
|
20
|
-
"no-param-reassign": 2,
|
|
21
|
-
"no-return-assign": 2,
|
|
22
|
-
"no-unused-expressions": 2,
|
|
23
|
-
"no-use-before-define": 2,
|
|
24
|
-
"radix": [2, "always"],
|
|
25
|
-
"indent": [2, 2],
|
|
26
|
-
"quotes": [2, "double"],
|
|
27
|
-
"semi": [2, "always"],
|
|
28
|
-
"no-console": 0
|
|
29
|
-
}
|
|
30
|
-
}
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"parserOptions": {
|
|
3
|
-
"ecmaVersion": 6,
|
|
4
|
-
"sourceType": "module"
|
|
5
|
-
},
|
|
6
|
-
"extends": "eslint:recommended",
|
|
7
|
-
"env": {
|
|
8
|
-
"browser": true,
|
|
9
|
-
"node": true
|
|
10
|
-
},
|
|
11
|
-
"globals": {
|
|
12
|
-
"console": true
|
|
13
|
-
},
|
|
14
|
-
"rules": {
|
|
15
|
-
"strict": [2, "global"],
|
|
16
|
-
"block-scoped-var": 2,
|
|
17
|
-
"consistent-return": 2,
|
|
18
|
-
"eqeqeq": [2, "smart"],
|
|
19
|
-
"guard-for-in": 2,
|
|
20
|
-
"no-caller": 2,
|
|
21
|
-
"no-extend-native": 2,
|
|
22
|
-
"no-loop-func": 2,
|
|
23
|
-
"no-new": 2,
|
|
24
|
-
"no-param-reassign": 2,
|
|
25
|
-
"no-return-assign": 2,
|
|
26
|
-
"no-unused-expressions": 2,
|
|
27
|
-
"no-use-before-define": 2,
|
|
28
|
-
"radix": [2, "always"],
|
|
29
|
-
"indent": [2, 2],
|
|
30
|
-
"quotes": [2, "double"],
|
|
31
|
-
"semi": [2, "always"],
|
|
32
|
-
"no-console": 0,
|
|
33
|
-
"no-debugger": 0,
|
|
34
|
-
"no-empty": ["error", { "allowEmptyCatch": true }]
|
|
35
|
-
}
|
|
36
|
-
}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"parserOptions": {
|
|
3
|
-
"ecmaVersion": 6,
|
|
4
|
-
"sourceType": "module"
|
|
5
|
-
},
|
|
6
|
-
"extends": "eslint:recommended",
|
|
7
|
-
"rules": {
|
|
8
|
-
"strict": [2, "global"],
|
|
9
|
-
"block-scoped-var": 2,
|
|
10
|
-
"consistent-return": 2,
|
|
11
|
-
"eqeqeq": [2, "smart"],
|
|
12
|
-
"guard-for-in": 2,
|
|
13
|
-
"no-caller": 2,
|
|
14
|
-
"no-extend-native": 2,
|
|
15
|
-
"no-loop-func": 2,
|
|
16
|
-
"no-new": 2,
|
|
17
|
-
"no-param-reassign": 2,
|
|
18
|
-
"no-return-assign": 2,
|
|
19
|
-
"no-unused-expressions": 2,
|
|
20
|
-
"no-use-before-define": 2,
|
|
21
|
-
"radix": [2, "always"],
|
|
22
|
-
"indent": [2, 2],
|
|
23
|
-
"quotes": [2, "double"],
|
|
24
|
-
"semi": [2, "always"]
|
|
25
|
-
}
|
|
26
|
-
}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"env": { "browser": true },
|
|
3
|
-
"extends": "eslint:recommended",
|
|
4
|
-
"parserOptions": { "ecmaVersion": 6, "sourceType": "module" },
|
|
5
|
-
"rules": {
|
|
6
|
-
"block-scoped-var": "error",
|
|
7
|
-
"consistent-return": "error",
|
|
8
|
-
"eqeqeq": "error",
|
|
9
|
-
"guard-for-in": "error",
|
|
10
|
-
"no-bitwise": "error",
|
|
11
|
-
"no-caller": "error",
|
|
12
|
-
"no-constant-condition": ["error", { "checkLoops": false }],
|
|
13
|
-
"no-extra-parens": "off",
|
|
14
|
-
"no-extend-native": "error",
|
|
15
|
-
"no-loop-func": "error",
|
|
16
|
-
"no-new": "error",
|
|
17
|
-
"no-param-reassign": "error",
|
|
18
|
-
"no-return-assign": "error",
|
|
19
|
-
"no-sequences": "error",
|
|
20
|
-
"no-unused-expressions": "error",
|
|
21
|
-
"no-use-before-define": "error",
|
|
22
|
-
"no-undef": "error",
|
|
23
|
-
"no-eq-null": "error",
|
|
24
|
-
"radix": ["error", "always"],
|
|
25
|
-
"indent": ["error", 2, { "SwitchCase": 0 }],
|
|
26
|
-
"quotes": ["error", "double"],
|
|
27
|
-
"semi": ["error", "always"],
|
|
28
|
-
"strict": ["error", "global"]
|
|
29
|
-
}
|
|
30
|
-
}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"parserOptions": {
|
|
3
|
-
"ecmaVersion": 6,
|
|
4
|
-
"sourceType": "module"
|
|
5
|
-
},
|
|
6
|
-
"extends": "eslint:recommended",
|
|
7
|
-
"rules": {
|
|
8
|
-
"strict": [2, "global"],
|
|
9
|
-
"block-scoped-var": 2,
|
|
10
|
-
"consistent-return": 2,
|
|
11
|
-
"eqeqeq": [2, "smart"],
|
|
12
|
-
"guard-for-in": 2,
|
|
13
|
-
"no-caller": 2,
|
|
14
|
-
"no-extend-native": 2,
|
|
15
|
-
"no-loop-func": 2,
|
|
16
|
-
"no-new": 2,
|
|
17
|
-
"no-param-reassign": 2,
|
|
18
|
-
"no-return-assign": 2,
|
|
19
|
-
"no-unused-expressions": 2,
|
|
20
|
-
"no-use-before-define": 2,
|
|
21
|
-
"radix": [2, "always"],
|
|
22
|
-
"indent": [2, 2],
|
|
23
|
-
"quotes": [2, "double"],
|
|
24
|
-
"semi": [2, "always"]
|
|
25
|
-
}
|
|
26
|
-
}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"parserOptions": {
|
|
3
|
-
"ecmaVersion": 6,
|
|
4
|
-
"sourceType": "module"
|
|
5
|
-
},
|
|
6
|
-
"extends": "eslint:recommended",
|
|
7
|
-
"env": {
|
|
8
|
-
"node": true
|
|
9
|
-
},
|
|
10
|
-
"rules": {
|
|
11
|
-
"strict": [2, "global"],
|
|
12
|
-
"block-scoped-var": 2,
|
|
13
|
-
"consistent-return": 2,
|
|
14
|
-
"eqeqeq": [2, "smart"],
|
|
15
|
-
"guard-for-in": 2,
|
|
16
|
-
"no-caller": 2,
|
|
17
|
-
"no-extend-native": 2,
|
|
18
|
-
"no-loop-func": 2,
|
|
19
|
-
"no-new": 2,
|
|
20
|
-
"no-param-reassign": 2,
|
|
21
|
-
"no-return-assign": 2,
|
|
22
|
-
"no-unused-expressions": 2,
|
|
23
|
-
"no-use-before-define": 2,
|
|
24
|
-
"radix": [2, "always"],
|
|
25
|
-
"indent": [2, 2],
|
|
26
|
-
"quotes": [2, "double"],
|
|
27
|
-
"semi": [2, "always"]
|
|
28
|
-
}
|
|
29
|
-
}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"parserOptions": {
|
|
3
|
-
"ecmaVersion": 6,
|
|
4
|
-
"sourceType": "module"
|
|
5
|
-
},
|
|
6
|
-
"extends": "eslint:recommended",
|
|
7
|
-
"env": {
|
|
8
|
-
"node": true
|
|
9
|
-
},
|
|
10
|
-
"rules": {
|
|
11
|
-
"strict": [2, "global"],
|
|
12
|
-
"block-scoped-var": 2,
|
|
13
|
-
"consistent-return": 2,
|
|
14
|
-
"eqeqeq": [2, "smart"],
|
|
15
|
-
"guard-for-in": 2,
|
|
16
|
-
"no-caller": 2,
|
|
17
|
-
"no-extend-native": 2,
|
|
18
|
-
"no-loop-func": 2,
|
|
19
|
-
"no-new": 2,
|
|
20
|
-
"no-param-reassign": 2,
|
|
21
|
-
"no-return-assign": 2,
|
|
22
|
-
"no-unused-expressions": 2,
|
|
23
|
-
"no-use-before-define": 2,
|
|
24
|
-
"radix": [2, "always"],
|
|
25
|
-
"indent": [2, 2],
|
|
26
|
-
"quotes": [2, "double"],
|
|
27
|
-
"semi": [2, "always"]
|
|
28
|
-
}
|
|
29
|
-
}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"parserOptions": {
|
|
3
|
-
"ecmaVersion": 6,
|
|
4
|
-
"sourceType": "module"
|
|
5
|
-
},
|
|
6
|
-
"extends": "eslint:recommended",
|
|
7
|
-
"env": {
|
|
8
|
-
"node": true
|
|
9
|
-
},
|
|
10
|
-
"rules": {
|
|
11
|
-
"strict": [2, "global"],
|
|
12
|
-
"block-scoped-var": 2,
|
|
13
|
-
"consistent-return": 2,
|
|
14
|
-
"eqeqeq": [2, "smart"],
|
|
15
|
-
"guard-for-in": 2,
|
|
16
|
-
"no-caller": 2,
|
|
17
|
-
"no-extend-native": 2,
|
|
18
|
-
"no-loop-func": 2,
|
|
19
|
-
"no-new": 2,
|
|
20
|
-
"no-param-reassign": 2,
|
|
21
|
-
"no-return-assign": 2,
|
|
22
|
-
"no-unused-expressions": 2,
|
|
23
|
-
"no-use-before-define": 2,
|
|
24
|
-
"radix": [2, "always"],
|
|
25
|
-
"indent": [2, 2],
|
|
26
|
-
"quotes": [2, "double"],
|
|
27
|
-
"semi": [2, "always"]
|
|
28
|
-
}
|
|
29
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
package-lock=false
|