@explorable-viz/fluid 0.9.6 → 0.9.8
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.
@@ -11577,7 +11577,7 @@ var assertPresent = (v) => (v1) => {
|
|
11577
11577
|
}
|
11578
11578
|
fail();
|
11579
11579
|
})();
|
11580
|
-
return assertWhen(
|
11580
|
+
return assertWhen(false)($0 + " is an existing vertex")((v2) => present)(() => $Step("Loop", $1))();
|
11581
11581
|
};
|
11582
11582
|
}
|
11583
11583
|
fail();
|
@@ -11806,7 +11806,7 @@ var runWithGraphT = (dictMonad) => {
|
|
11806
11806
|
const freezeGraph2 = freezeGraph1(dictGraph);
|
11807
11807
|
return (m) => (\u03B1s) => dictMonad.Bind1().bind(freezeGraph2(m)(\u03B1s))((v) => {
|
11808
11808
|
const $0 = v._1;
|
11809
|
-
return assertWhen(
|
11809
|
+
return assertWhen(false)("edgeListGC")((v1) => dictGraph.Eq0().eq($0)(dictGraph.fromEdgeList(Leaf2)(toEdgeList(dictGraph)($0))))(dictMonad.Applicative0().pure($Tuple(
|
11810
11810
|
$0,
|
11811
11811
|
v._2
|
11812
11812
|
)));
|
@@ -11883,7 +11883,7 @@ var fwdSlice = (dictGraph) => {
|
|
11883
11883
|
return pure($Step("Loop", { pending: insert(ordVertex)(v1.es._1._1)(\u03B2s)(v1.pending), es: v1.es._2 }));
|
11884
11884
|
}
|
11885
11885
|
fail();
|
11886
|
-
})({ pending: Leaf2, es: inEdges(dictGraph)($0)($1) }))(assertWhen(
|
11886
|
+
})({ pending: Leaf2, es: inEdges(dictGraph)($0)($1) }))(assertWhen(false)("inputs are sinks")((v$1) => difference2(ordVertex)($1)(dictGraph.sinks($0)).tag === "Leaf")(map(ordDVertex$p)((\u03B1) => $Tuple(
|
11887
11887
|
\u03B1,
|
11888
11888
|
dictGraph.vertexData($0)(\u03B1)
|
11889
11889
|
))($1)))._1;
|
@@ -11927,7 +11927,7 @@ var bwdSlice = (dictGraph) => {
|
|
11927
11927
|
fail();
|
11928
11928
|
})({
|
11929
11929
|
visited: Leaf2,
|
11930
|
-
"\u03B1s": fromFoldable8(assertWhen(
|
11930
|
+
"\u03B1s": fromFoldable8(assertWhen(false)("inputs are sinks")((v$1) => difference2(ordVertex)($1)(addresses2($0)).tag === "Leaf")($1)),
|
11931
11931
|
pending: Nil
|
11932
11932
|
}))(Leaf2)._1;
|
11933
11933
|
};
|
@@ -18574,6 +18574,7 @@ var graphEval = (dictMonadAff) => {
|
|
18574
18574
|
const monadAffState1 = monadAffState(monadAffState2);
|
18575
18575
|
const $1 = monadAffState2.MonadEffect0().Monad0();
|
18576
18576
|
const $2 = dictMonadAff.MonadEffect0().Monad0();
|
18577
|
+
const applicativeStateT2 = applicativeStateT(Monad0);
|
18577
18578
|
return (dictMonadReader) => {
|
18578
18579
|
const monadReaderStateT2 = monadReaderStateT(monadReaderStateT(dictMonadReader));
|
18579
18580
|
return (dictLoadFile) => (dictMonadError) => {
|
@@ -18589,7 +18590,6 @@ var graphEval = (dictMonadAff) => {
|
|
18589
18590
|
}
|
18590
18591
|
};
|
18591
18592
|
})());
|
18592
|
-
const check2 = check(monadThrowStateT(dictMonadError.MonadThrow0()));
|
18593
18593
|
return (v) => (e) => {
|
18594
18594
|
const $3 = v["\u03B3"];
|
18595
18595
|
const $4 = spyFunWhen(false)("fwdSlice")((x) => $Tuple(showVertices(x._1), showEdgeList(toEdgeList(graphGraphImpl)(x._2))))(showGraph(graphGraphImpl))(fwdSlice2);
|
@@ -18600,10 +18600,7 @@ var graphEval = (dictMonadAff) => {
|
|
18600
18600
|
))))((v1) => {
|
18601
18601
|
const $6 = v1._1;
|
18602
18602
|
const $7 = v1._2;
|
18603
|
-
return bindStateT2.bind(
|
18604
|
-
$6,
|
18605
|
-
$Tuple($EnvExpr($3, e\u03B1), $7)
|
18606
|
-
)));
|
18603
|
+
return bindStateT2.bind(applicativeStateT2.pure())(() => applicativeStateT2.pure($Tuple($6, $Tuple($EnvExpr($3, e\u03B1), $7))));
|
18607
18604
|
})))(v.n))((v1) => Monad0.Applicative0().pure({
|
18608
18605
|
g: v1._2._2._1,
|
18609
18606
|
graph_fwd: (a) => (b) => $4($Tuple(a, b)),
|
@@ -29731,7 +29731,7 @@ var assertPresent = (v) => (v1) => {
|
|
29731
29731
|
}
|
29732
29732
|
fail();
|
29733
29733
|
})();
|
29734
|
-
return assertWhen(
|
29734
|
+
return assertWhen(false)($0 + " is an existing vertex")((v2) => present)(() => $Step("Loop", $1))();
|
29735
29735
|
};
|
29736
29736
|
}
|
29737
29737
|
fail();
|
@@ -40868,7 +40868,7 @@ var runWithGraphT = (dictMonad) => {
|
|
40868
40868
|
const freezeGraph2 = freezeGraph1(dictGraph);
|
40869
40869
|
return (m) => (\u03B1s) => dictMonad.Bind1().bind(freezeGraph2(m)(\u03B1s))((v) => {
|
40870
40870
|
const $0 = v._1;
|
40871
|
-
return assertWhen(
|
40871
|
+
return assertWhen(false)("edgeListGC")((v1) => dictGraph.Eq0().eq($0)(dictGraph.fromEdgeList(Leaf2)(toEdgeList(dictGraph)($0))))(dictMonad.Applicative0().pure($Tuple(
|
40872
40872
|
$0,
|
40873
40873
|
v._2
|
40874
40874
|
)));
|
@@ -40945,7 +40945,7 @@ var fwdSlice = (dictGraph) => {
|
|
40945
40945
|
return pure2($Step("Loop", { pending: insert3(ordVertex)(v1.es._1._1)(\u03B2s)(v1.pending), es: v1.es._2 }));
|
40946
40946
|
}
|
40947
40947
|
fail();
|
40948
|
-
})({ pending: Leaf2, es: inEdges(dictGraph)($0)($1) }))(assertWhen(
|
40948
|
+
})({ pending: Leaf2, es: inEdges(dictGraph)($0)($1) }))(assertWhen(false)("inputs are sinks")((v$1) => difference2(ordVertex)($1)(dictGraph.sinks($0)).tag === "Leaf")(map2(ordDVertex$p)((\u03B1) => $Tuple(
|
40949
40949
|
\u03B1,
|
40950
40950
|
dictGraph.vertexData($0)(\u03B1)
|
40951
40951
|
))($1)))._1;
|
@@ -40989,7 +40989,7 @@ var bwdSlice = (dictGraph) => {
|
|
40989
40989
|
fail();
|
40990
40990
|
})({
|
40991
40991
|
visited: Leaf2,
|
40992
|
-
"\u03B1s": fromFoldable17(assertWhen(
|
40992
|
+
"\u03B1s": fromFoldable17(assertWhen(false)("inputs are sinks")((v$1) => difference2(ordVertex)($1)(addresses2($0)).tag === "Leaf")($1)),
|
40993
40993
|
pending: Nil
|
40994
40994
|
}))(Leaf2)._1;
|
40995
40995
|
};
|
@@ -41610,6 +41610,7 @@ var graphEval = (dictMonadAff) => {
|
|
41610
41610
|
const monadAffState1 = monadAffState(monadAffState2);
|
41611
41611
|
const $1 = monadAffState2.MonadEffect0().Monad0();
|
41612
41612
|
const $2 = dictMonadAff.MonadEffect0().Monad0();
|
41613
|
+
const applicativeStateT2 = applicativeStateT(Monad0);
|
41613
41614
|
return (dictMonadReader) => {
|
41614
41615
|
const monadReaderStateT2 = monadReaderStateT(monadReaderStateT(dictMonadReader));
|
41615
41616
|
return (dictLoadFile) => (dictMonadError) => {
|
@@ -41625,7 +41626,6 @@ var graphEval = (dictMonadAff) => {
|
|
41625
41626
|
}
|
41626
41627
|
};
|
41627
41628
|
})());
|
41628
|
-
const check2 = check(monadThrowStateT(dictMonadError.MonadThrow0()));
|
41629
41629
|
return (v) => (e) => {
|
41630
41630
|
const $3 = v["\u03B3"];
|
41631
41631
|
const $4 = spyFunWhen(false)("fwdSlice")((x2) => $Tuple(showVertices(x2._1), showEdgeList(toEdgeList(graphGraphImpl)(x2._2))))(showGraph(graphGraphImpl))(fwdSlice2);
|
@@ -41636,10 +41636,7 @@ var graphEval = (dictMonadAff) => {
|
|
41636
41636
|
))))((v1) => {
|
41637
41637
|
const $6 = v1._1;
|
41638
41638
|
const $7 = v1._2;
|
41639
|
-
return bindStateT2.bind(
|
41640
|
-
$6,
|
41641
|
-
$Tuple($EnvExpr($3, e\u03B1), $7)
|
41642
|
-
)));
|
41639
|
+
return bindStateT2.bind(applicativeStateT2.pure())(() => applicativeStateT2.pure($Tuple($6, $Tuple($EnvExpr($3, e\u03B1), $7))));
|
41643
41640
|
})))(v.n))((v1) => Monad0.Applicative0().pure({
|
41644
41641
|
g: v1._2._2._1,
|
41645
41642
|
graph_fwd: (a) => (b) => $4($Tuple(a, b)),
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@explorable-viz/fluid",
|
3
|
-
"version": "0.9.
|
3
|
+
"version": "0.9.8",
|
4
4
|
"description": "A functional programming language which integrates a bidirectional dynamic analysis, connecting outputs to data sources in a fine-grained way. Fluid is implemented in PureScript and runs in the browser.",
|
5
5
|
"main": "index.js",
|
6
6
|
"repository": {
|
@@ -32,13 +32,13 @@
|
|
32
32
|
"benchmark": "./script/benchmark.sh",
|
33
33
|
"build": "./script/build.sh",
|
34
34
|
"build-prod": "BUILD_ENV=prod ./script/build.sh",
|
35
|
+
"build-publish": "yarn build-prod && yarn publish",
|
35
36
|
"build-test": "./script/build-test.sh",
|
36
37
|
"bundle-fluid": "./script/bundle-fluid.sh",
|
37
38
|
"bundle-serve": "sh -c './script/bundle-website.sh \"$@\" && ./script/serve.sh \"$1\"' _",
|
38
39
|
"bundle-website": "./script/bundle-website.sh",
|
39
40
|
"bundle-website-all": "./script/bundle-website-all.sh",
|
40
41
|
"fluid": "node ./dist/fluid/shared/fluid.mjs",
|
41
|
-
"npm-publish": "./script/npm-publish.sh",
|
42
42
|
"serve": "./script/serve.sh",
|
43
43
|
"test": "./script/test.sh",
|
44
44
|
"test-all": "./script/test-all.sh",
|
@@ -8,6 +8,7 @@
|
|
8
8
|
<title>Fluid Article Examples</title>
|
9
9
|
<link href="../css/styles.css" rel="stylesheet" type="text/css">
|
10
10
|
<link href="../css/view-styles.css" rel="stylesheet" type="text/css">
|
11
|
+
<script src="../shared/util.js"></script>
|
11
12
|
<script src="https://kit.fontawesome.com/20cf8b42c0.js" crossorigin="anonymous"></script>
|
12
13
|
<style>
|
13
14
|
.grid-container, .grid-container.data-pane-hidden {
|
@@ -8,6 +8,7 @@
|
|
8
8
|
<title>Fluid: Data-Linked Visualisations</title>
|
9
9
|
<link href="../css/styles.css" rel="stylesheet" type="text/css">
|
10
10
|
<link href="../css/view-styles.css" rel="stylesheet" type="text/css">
|
11
|
+
<script src="../shared/util.js"></script>
|
11
12
|
<script src="https://kit.fontawesome.com/20cf8b42c0.js" crossorigin="anonymous"></script>
|
12
13
|
<style>
|
13
14
|
:root {
|
@@ -8,6 +8,7 @@
|
|
8
8
|
<title>Fluid: Data-Linked Visualisations</title>
|
9
9
|
<link href="../css/styles.css" rel="stylesheet" type="text/css">
|
10
10
|
<link href="../css/view-styles.css" rel="stylesheet" type="text/css">
|
11
|
+
<script src="../shared/util.js"></script>
|
11
12
|
<script src="https://kit.fontawesome.com/20cf8b42c0.js" crossorigin="anonymous"></script>
|
12
13
|
<style>
|
13
14
|
.data-pane {
|