@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.
Files changed (70) hide show
  1. package/README.md +22 -9
  2. package/dist/fluid/fluid/lib/graphics.fld +60 -60
  3. package/dist/fluid/fluid/lib/matrix.fld +17 -17
  4. package/dist/fluid/fluid/lib/prelude.fld +36 -35
  5. package/dist/fluid/fluid/lib/stats.fld +19 -19
  6. package/dist/fluid/shared/fluid.mjs +1044 -2141
  7. package/dist/fluid/shared/load-figure.js +1118 -2142
  8. package/dist/fluid/shared/webtest-lib.js +124 -124
  9. package/package.json +2 -2
  10. package/website/article/fluid/1805.02474v1-10.fld +2 -2
  11. package/website/article/fluid/bar-chart-line-chart.fld +1 -1
  12. package/website/article/fluid/convolution.fld +14 -18
  13. package/website/article/fluid/dataset/scigen/_1805_02474v1_10.fld +1 -1
  14. package/website/article/fluid/methane_data.fld +1 -1
  15. package/website/article/fluid/moving-average.fld +1 -1
  16. package/website/article/fluid/non-renewables.fld +1 -1
  17. package/website/article/fluid/nonRenewables.fld +2 -2
  18. package/website/article/fluid/renewables.fld +1 -1
  19. package/website/article/fluid/scigen.fld +3 -3
  20. package/website/article/fluid/util.fld +4 -4
  21. package/.spago/aff/v7.0.0/.editorconfig +0 -13
  22. package/.spago/aff/v7.0.0/.eslintrc.json +0 -28
  23. package/.spago/aff/v7.0.0/.gitignore +0 -14
  24. package/.spago/aff/v7.0.0/.tidyrc.json +0 -10
  25. package/.spago/argonaut-codecs/v9.0.0/.editorconfig +0 -13
  26. package/.spago/argonaut-codecs/v9.0.0/.gitignore +0 -9
  27. package/.spago/argonaut-codecs/v9.0.0/.tidyrc.json +0 -10
  28. package/.spago/arrays/v7.0.0/.eslintrc.json +0 -26
  29. package/.spago/arrays/v7.0.0/.gitignore +0 -9
  30. package/.spago/console/v6.0.0/.eslintrc.json +0 -30
  31. package/.spago/console/v6.0.0/.gitignore +0 -9
  32. package/.spago/debug/v6.0.0/.eslintrc.json +0 -36
  33. package/.spago/debug/v6.0.0/.gitignore +0 -8
  34. package/.spago/enums/v6.0.0/.gitignore +0 -7
  35. package/.spago/foreign-object/v4.0.0/.eslintrc.json +0 -26
  36. package/.spago/foreign-object/v4.0.0/.gitignore +0 -8
  37. package/.spago/free/v7.0.0/.gitignore +0 -8
  38. package/.spago/graphs/v8.0.0/.gitignore +0 -7
  39. package/.spago/js-uri/v3.0.0/.eslintrc.json +0 -30
  40. package/.spago/js-uri/v3.0.0/.gitignore +0 -14
  41. package/.spago/js-uri/v3.0.0/.tidyrc.json +0 -10
  42. package/.spago/node-buffer/v8.0.0/.eslintrc.json +0 -26
  43. package/.spago/node-buffer/v8.0.0/.gitignore +0 -8
  44. package/.spago/node-child-process/v9.0.0/.eslintrc.json +0 -29
  45. package/.spago/node-child-process/v9.0.0/.gitignore +0 -8
  46. package/.spago/node-process/v10.0.0/.eslintrc.json +0 -29
  47. package/.spago/node-process/v10.0.0/.gitignore +0 -8
  48. package/.spago/node-streams/v7.0.0/.eslintrc.json +0 -29
  49. package/.spago/node-streams/v7.0.0/.gitignore +0 -8
  50. package/.spago/optparse/v5.0.0/.gitignore +0 -8
  51. package/.spago/optparse/v5.0.0/.npmrc +0 -1
  52. package/.spago/ordered-collections/v3.0.0/.gitignore +0 -8
  53. package/.spago/parallel/v6.0.0/.gitignore +0 -7
  54. package/.spago/parsing/v10.0.0/.editorconfig +0 -13
  55. package/.spago/parsing/v10.0.0/.gitignore +0 -10
  56. package/.spago/parsing/v10.0.0/.tidyoperators +0 -231
  57. package/.spago/parsing/v10.0.0/.tidyrc.json +0 -10
  58. package/.spago/prelude/v6.0.0/.eslintrc.json +0 -26
  59. package/.spago/prelude/v6.0.0/.gitignore +0 -8
  60. package/.spago/st/v6.0.0/.eslintrc.json +0 -26
  61. package/.spago/st/v6.0.0/.gitignore +0 -8
  62. package/.spago/strings/v6.0.0/.eslintrc.json +0 -26
  63. package/.spago/strings/v6.0.0/.gitignore +0 -8
  64. package/.spago/tailrec/v6.0.0/.gitignore +0 -7
  65. package/.spago/web-html/v4.0.0/.eslintrc.json +0 -29
  66. package/.spago/web-html/v4.0.0/.gitignore +0 -8
  67. package/.spago/web-xhr/v5.0.0/.eslintrc.json +0 -29
  68. package/.spago/web-xhr/v5.0.0/.gitignore +0 -8
  69. package/website/article/.DS_Store +0 -0
  70. 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 findWithKey_(fName, x, table):
21
- fromSome(findWithKey(fName, x, table))
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
- fromSome(find(pred, table))
24
+ from_some(find(pred, table))
25
25
 
26
26
  def model(m, t):
27
- findWithKey_("model", m, t)
27
+ find_with_key_("model", m, t)
28
28
 
29
29
  def maximumBy(f, []):
30
30
  error("Empty list!")
@@ -1,13 +0,0 @@
1
- # https://editorconfig.org
2
- root = true
3
-
4
- [*]
5
- indent_style = space
6
- indent_size = 2
7
- end_of_line = lf
8
- charset = utf-8
9
- trim_trailing_whitespace = true
10
- insert_final_newline = true
11
-
12
- [*.md]
13
- trim_trailing_whitespace = false
@@ -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,14 +0,0 @@
1
- .*
2
- !.gitignore
3
- !.github
4
- !.editorconfig
5
- !.tidyrc.json
6
- !.eslintrc.json
7
-
8
- output
9
- generated-docs
10
- bower_components
11
-
12
- node_modules
13
- package-lock.json
14
- *.lock
@@ -1,10 +0,0 @@
1
- {
2
- "importSort": "source",
3
- "importWrap": "source",
4
- "indent": 2,
5
- "operatorsFile": null,
6
- "ribbon": 1,
7
- "typeArrowPlacement": "first",
8
- "unicode": "never",
9
- "width": null
10
- }
@@ -1,13 +0,0 @@
1
- # http://editorconfig.org
2
- root = true
3
-
4
- [*]
5
- indent_style = space
6
- indent_size = 2
7
- end_of_line = lf
8
- charset = utf-8
9
- trim_trailing_whitespace = true
10
- insert_final_newline = true
11
-
12
- [*.md]
13
- trim_trailing_whitespace = false
@@ -1,9 +0,0 @@
1
- .*
2
- !.gitignore
3
- !.github
4
- !.editorconfig
5
- !.tidyrc.json
6
-
7
- output
8
- generated-docs
9
- bower_components
@@ -1,10 +0,0 @@
1
- {
2
- "importSort": "source",
3
- "importWrap": "source",
4
- "indent": 2,
5
- "operatorsFile": null,
6
- "ribbon": 1,
7
- "typeArrowPlacement": "first",
8
- "unicode": "never",
9
- "width": null
10
- }
@@ -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,9 +0,0 @@
1
- /.*
2
- !/.gitignore
3
- !/.github
4
- !/.eslintrc.json
5
- !/.travis.yml
6
- package-lock.json
7
- /bower_components/
8
- /node_modules/
9
- /output/
@@ -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,9 +0,0 @@
1
- /.*
2
- !/.gitignore
3
- !/.eslintrc.json
4
- !/.github/
5
- /bower_components/
6
- /node_modules/
7
- /output/
8
- package-lock.json
9
- test/actual_output.txt
@@ -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,8 +0,0 @@
1
- /.*
2
- !/.gitignore
3
- !/.eslintrc.json
4
- !/.github
5
- /bower_components/
6
- /node_modules/
7
- /output/
8
- package-lock.json
@@ -1,7 +0,0 @@
1
- /.*
2
- !/.gitignore
3
- !/.github/
4
- /bower_components/
5
- /node_modules/
6
- /output/
7
- package-lock.json
@@ -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,8 +0,0 @@
1
- /.*
2
- !/.gitignore
3
- !/.eslintrc.json
4
- !/.github/
5
- package-lock.json
6
- /bower_components/
7
- /node_modules/
8
- /output/
@@ -1,8 +0,0 @@
1
- /.*
2
- !/.gitignore
3
- !/.github/
4
- /bower_components/
5
- /node_modules/
6
- /output/
7
- package-lock.json
8
- /tmp/
@@ -1,7 +0,0 @@
1
- /.*
2
- !/.gitignore
3
- !/.github
4
- /bower_components/
5
- /node_modules/
6
- /output/
7
- package-lock.json
@@ -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,14 +0,0 @@
1
- .*
2
- !.gitignore
3
- !.github
4
- !.editorconfig
5
- !.tidyrc.json
6
- !.eslintrc.json
7
-
8
- output
9
- generated-docs
10
- bower_components
11
-
12
- node_modules
13
- package-lock.json
14
- *.lock
@@ -1,10 +0,0 @@
1
- {
2
- "importSort": "source",
3
- "importWrap": "source",
4
- "indent": 2,
5
- "operatorsFile": null,
6
- "ribbon": 1,
7
- "typeArrowPlacement": "first",
8
- "unicode": "never",
9
- "width": null
10
- }
@@ -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,8 +0,0 @@
1
- /.*
2
- !/.gitignore
3
- !/.eslintrc.json
4
- !/.github/
5
- /bower_components/
6
- /node_modules/
7
- /output/
8
- package-lock.json
@@ -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,8 +0,0 @@
1
- /.*
2
- !/.gitignore
3
- !/.eslintrc.json
4
- !/.github/
5
- /bower_components/
6
- /node_modules/
7
- /output/
8
- package-lock.json
@@ -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,8 +0,0 @@
1
- /.*
2
- !/.gitignore
3
- !/.eslintrc.json
4
- !/.github/
5
- /bower_components/
6
- /node_modules/
7
- /output/
8
- package-lock.json
@@ -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,8 +0,0 @@
1
- /.*
2
- !/.gitignore
3
- !/.eslintrc.json
4
- !/.github/
5
- /bower_components/
6
- /node_modules/
7
- /output/
8
- package-lock.json
@@ -1,8 +0,0 @@
1
- /.*
2
- !/.github
3
- !/.gitignore
4
- !/.npmrc
5
- !/.travis.yml
6
- /bower_components/
7
- /node_modules/
8
- /output/
@@ -1 +0,0 @@
1
- package-lock=false
@@ -1,8 +0,0 @@
1
- /.*
2
- !/.gitignore
3
- !/.eslintrc.json
4
- !/.github/
5
- package-lock.json
6
- /bower_components/
7
- /node_modules/
8
- /output/
@@ -1,7 +0,0 @@
1
- /.*
2
- !/.gitignore
3
- !/.github/
4
- /bower_components/
5
- /node_modules/
6
- /output/
7
- package-lock.json
@@ -1,13 +0,0 @@
1
- # https://editorconfig.org
2
- root = true
3
-
4
- [*]
5
- indent_style = space
6
- indent_size = 2
7
- end_of_line = lf
8
- charset = utf-8
9
- trim_trailing_whitespace = true
10
- insert_final_newline = true
11
-
12
- [*.md]
13
- trim_trailing_whitespace = false
@@ -1,10 +0,0 @@
1
- .*
2
- !.gitignore
3
- !.github
4
- !.editorconfig
5
- !.tidyrc.json
6
- !.tidyoperators
7
-
8
- output
9
- generated-docs
10
- bower_components