@explorable-viz/fluid 0.7.76 → 0.7.78

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.
@@ -156,14 +156,6 @@ var intercalate = function(separator) {
156
156
  var showString = { show: showStringImpl };
157
157
  var showNumber = { show: showNumberImpl };
158
158
  var showInt = { show: showIntImpl };
159
- var showBoolean = {
160
- show: (v) => {
161
- if (v) {
162
- return "true";
163
- }
164
- return "false";
165
- }
166
- };
167
159
 
168
160
  // output-es/Data.Generic.Rep/index.js
169
161
  var $NoArguments = () => ({ tag: "NoArguments" });
@@ -11589,21 +11581,17 @@ var showEdgeList = (es) => joinWith("\n")([
11589
11581
  "digraph G {",
11590
11582
  ...arrayMap((v) => " " + v)([
11591
11583
  "rankdir = RL",
11592
- ...arrayMap((v) => v._1 + " -> {" + joinWith(", ")(fromFoldable5(map(ordString)(unsafeCoerce)(v._2._1))) + "}")(fromFoldable13(reverse2(es)))
11584
+ ...arrayMap((v) => v._1 + " -> {" + joinWith(", ")(fromFoldable5(map(ordString)(unsafeCoerce)(v._2))) + "}")(fromFoldable13(reverse2(es)))
11593
11585
  ]),
11594
11586
  "}"
11595
11587
  ]);
11596
- var pack1 = (x) => (k) => k(showString)(x);
11597
11588
  var toEdgeList = (dictGraph) => (g) => {
11598
11589
  const $0 = (v) => {
11599
11590
  if (v._1.tag === "Nil") {
11600
11591
  return $Step("Done", v._2);
11601
11592
  }
11602
11593
  if (v._1.tag === "Cons") {
11603
- return $Step(
11604
- "Loop",
11605
- $Tuple(v._1._2, $List("Cons", $Tuple(v._1._1, $Tuple(dictGraph.outN(g)(v._1._1), pack1(""))), v._2))
11606
- );
11594
+ return $Step("Loop", $Tuple(v._1._2, $List("Cons", $Tuple(v._1._1, dictGraph.outN(g)(v._1._1)), v._2)));
11607
11595
  }
11608
11596
  fail();
11609
11597
  };
@@ -11891,15 +11879,14 @@ var $GraphImpl = (_1) => ({ tag: "GraphImpl", _1 });
11891
11879
  var eqSet2 = { eq: (v) => (v1) => eqMap(eqVertex)(eqUnit).eq(v)(v1) };
11892
11880
  var eq = /* @__PURE__ */ (() => eqObject(eqSet2).eq)();
11893
11881
  var fromFoldable7 = /* @__PURE__ */ foldlArray((m) => (a) => insert(ordVertex)(a)()(m))(Leaf2);
11894
- var pack = (x) => (k) => k(showString)(x);
11895
11882
  var toUnfoldable6 = /* @__PURE__ */ toUnfoldable4(unfoldableList);
11896
11883
  var fromFoldable15 = /* @__PURE__ */ (() => foldableSet.foldr(Cons)(Nil))();
11897
11884
  var fromFoldable23 = /* @__PURE__ */ (() => foldableSet.foldl((m) => (a) => insert(ordVertex)(a)()(m))(Leaf2))();
11898
11885
  var toUnfoldable12 = /* @__PURE__ */ toAscUnfoldable(unfoldableArray);
11899
11886
  var fromFoldable32 = /* @__PURE__ */ fromFoldable(ordVertex)(foldableArray);
11900
11887
  var verticesGraphImpl = { vertices: (v) => v._1.vertices };
11901
- var eqGraphImpl = { eq: (v) => (v1) => eq(_fmapObject(v._1.out, fst))(_fmapObject(v1._1.out, fst)) };
11902
- var sinks$p = (m) => fromFoldable7(arrayMap((x) => x._1)(filter((x) => x._2._1.tag === "Leaf")(toArrayWithKey(Tuple)(m))));
11888
+ var eqGraphImpl = { eq: (v) => (v1) => eq(v._1.out)(v1._1.out) };
11889
+ var sinks$p = (m) => fromFoldable7(arrayMap((x) => x._1)(filter((x) => x._2.tag === "Leaf")(toArrayWithKey(Tuple)(m))));
11903
11890
  var init4 = (\u03B1s) => () => {
11904
11891
  const obj = {};
11905
11892
  return monadRecST.tailRecM((v) => {
@@ -11911,7 +11898,7 @@ var init4 = (\u03B1s) => () => {
11911
11898
  const $1 = v._1._2;
11912
11899
  const $2 = v._2;
11913
11900
  return () => {
11914
- $2[$0] = $Tuple(Leaf2, pack("uninit: init"));
11901
+ $2[$0] = Leaf2;
11915
11902
  return $Step("Loop", $Tuple($1, $2));
11916
11903
  };
11917
11904
  }
@@ -11947,7 +11934,7 @@ var addIfMissing = (acc) => (v) => {
11947
11934
  return () => {
11948
11935
  const v1 = $0();
11949
11936
  if (v1.tag === "Nothing") {
11950
- acc[v] = $Tuple(Leaf2, pack("uninit: missing"));
11937
+ acc[v] = Leaf2;
11951
11938
  return acc;
11952
11939
  }
11953
11940
  if (v1.tag === "Just") {
@@ -11981,28 +11968,27 @@ var outMap = (\u03B1s) => (es) => {
11981
11968
  if (v._1.tag === "Cons") {
11982
11969
  const $1 = v._2;
11983
11970
  const $2 = v._1._2;
11984
- const $3 = v._1._1._2._2;
11985
- const $4 = v._1._1._1;
11986
- const $5 = v._1._1._2._1;
11987
- const $6 = peek($4)($1);
11971
+ const $3 = v._1._1._1;
11972
+ const $4 = v._1._1._2;
11973
+ const $5 = peek($3)($1);
11988
11974
  return () => {
11989
- const $7 = $6();
11975
+ const $6 = $5();
11990
11976
  if ((() => {
11991
- if ($7.tag === "Nothing") {
11977
+ if ($6.tag === "Nothing") {
11992
11978
  return true;
11993
11979
  }
11994
- if ($7.tag === "Just") {
11995
- return eqMap(eqVertex)(eqUnit).eq($7._1._1)(Leaf2);
11980
+ if ($6.tag === "Just") {
11981
+ return eqMap(eqVertex)(eqUnit).eq($6._1)(Leaf2);
11996
11982
  }
11997
11983
  fail();
11998
11984
  })()) {
11999
- const \u03B2s$p = toUnfoldable6($5);
11985
+ const \u03B2s$p = toUnfoldable6($4);
12000
11986
  monadRecST.tailRecM(assertPresent($1))(\u03B2s$p)();
12001
- $1[$4] = $Tuple($5, $3);
11987
+ $1[$3] = $4;
12002
11988
  const acc$p = addIfMissing$p(\u03B2s$p)($1)();
12003
11989
  return $Step("Loop", $Tuple($2, acc$p));
12004
11990
  }
12005
- return throwException(error("Duplicate edge list entry for " + showStringImpl($4)))()();
11991
+ return throwException(error("Duplicate edge list entry for " + showStringImpl($3)))()();
12006
11992
  };
12007
11993
  }
12008
11994
  fail();
@@ -12019,38 +12005,37 @@ var inMap = (\u03B1s) => (es) => {
12019
12005
  }
12020
12006
  if (v._1.tag === "Cons") {
12021
12007
  const $1 = v._1._2;
12022
- const $2 = v._1._1._2._2;
12023
- const $3 = v._1._1._1;
12024
- const $4 = monadRecST.tailRecM((v2) => {
12025
- if (v2._1.tag === "Nil") {
12026
- return () => $Step("Done", v2._2);
12008
+ const $2 = v._1._1._1;
12009
+ const $3 = monadRecST.tailRecM((v1) => {
12010
+ if (v1._1.tag === "Nil") {
12011
+ return () => $Step("Done", v1._2);
12027
12012
  }
12028
- if (v2._1.tag === "Cons") {
12029
- const $42 = v2._2;
12030
- const $5 = v2._1._1;
12031
- const $6 = v2._1._2;
12032
- const $7 = peek($5)($42);
12013
+ if (v1._1.tag === "Cons") {
12014
+ const $32 = v1._2;
12015
+ const $4 = v1._1._1;
12016
+ const $5 = v1._1._2;
12017
+ const $6 = peek($4)($32);
12033
12018
  return () => {
12034
- const v1 = $7();
12019
+ const v1$1 = $6();
12035
12020
  const acc$p = (() => {
12036
- if (v1.tag === "Nothing") {
12037
- $42[$5] = $Tuple($$$Map("Two", Leaf2, $3, void 0, Leaf2), $2);
12038
- return $42;
12021
+ if (v1$1.tag === "Nothing") {
12022
+ $32[$4] = $$$Map("Two", Leaf2, $2, void 0, Leaf2);
12023
+ return $32;
12039
12024
  }
12040
- if (v1.tag === "Just") {
12041
- $42[$5] = $Tuple(insert(ordVertex)($3)()(v1._1._1), $2);
12042
- return $42;
12025
+ if (v1$1.tag === "Just") {
12026
+ $32[$4] = insert(ordVertex)($2)()(v1$1._1);
12027
+ return $32;
12043
12028
  }
12044
12029
  fail();
12045
12030
  })();
12046
- return $Step("Loop", $Tuple($6, acc$p));
12031
+ return $Step("Loop", $Tuple($5, acc$p));
12047
12032
  };
12048
12033
  }
12049
12034
  fail();
12050
- })($Tuple(toUnfoldable6(v._1._1._2._1), v._2));
12035
+ })($Tuple(toUnfoldable6(v._1._1._2), v._2));
12051
12036
  return () => {
12052
- const a = $4();
12053
- const acc$p = addIfMissing(a)($3)();
12037
+ const a = $3();
12038
+ const acc$p = addIfMissing(a)($2)();
12054
12039
  return $Step("Loop", $Tuple($1, acc$p));
12055
12040
  };
12056
12041
  }
@@ -12059,8 +12044,7 @@ var inMap = (\u03B1s) => (es) => {
12059
12044
  };
12060
12045
  };
12061
12046
  var graphGraphImpl = {
12062
- outN: (v) => (\u03B1) => definitely("in graph")(_lookup(Nothing, Just, \u03B1, v._1.out))._1,
12063
- vertexData: (v) => (\u03B1) => definitely("in graph")(_lookup(Nothing, Just, \u03B1, v._1.out))._2,
12047
+ outN: (v) => (\u03B1) => definitely("in graph")(_lookup(Nothing, Just, \u03B1, v._1.out)),
12064
12048
  inN: (g) => graphGraphImpl.outN(graphGraphImpl.op(g)),
12065
12049
  elem: (\u03B1) => (v) => {
12066
12050
  const $0 = _lookup(Nothing, Just, \u03B1, v._1.out);
@@ -12099,7 +12083,7 @@ var graphGraphImpl = {
12099
12083
  topologicalSort: (v) => reverse2(topologicalSort(ordVertex)(fromFoldable32(arrayMap((x) => $Tuple(
12100
12084
  x._1,
12101
12085
  $Tuple(void 0, x._2)
12102
- ))(toUnfoldable12(_fmapObject(_fmapObject(v._1.out, fst), toUnfoldable6)))))),
12086
+ ))(toUnfoldable12(_fmapObject(v._1.out, toUnfoldable6)))))),
12103
12087
  Eq0: () => eqGraphImpl,
12104
12088
  Vertices1: () => verticesGraphImpl
12105
12089
  };
@@ -12131,8 +12115,8 @@ var monadWithGraphWithGraphT = (dictMonad) => {
12131
12115
  const $1 = monadStateStateT(dictMonad);
12132
12116
  const monadStateT2 = { Applicative0: () => applicativeStateT(dictMonad), Bind1: () => bindStateT(dictMonad) };
12133
12117
  return {
12134
- extend: (\u03B1) => (\u03B1s) => (vd) => {
12135
- const $2 = Cons($Tuple(\u03B1, $Tuple(\u03B1s, vd)));
12118
+ extend: (\u03B1) => (\u03B1s) => {
12119
+ const $2 = Cons($Tuple(\u03B1, \u03B1s));
12136
12120
  const $3 = $1.state((s) => $Tuple(void 0, $2(s)));
12137
12121
  return (s) => $0.map((v1) => $Tuple(void 0, v1._2))($3(s));
12138
12122
  },
@@ -12194,10 +12178,10 @@ var runWithGraphT = (dictMonad) => {
12194
12178
  };
12195
12179
  };
12196
12180
  var runWithGraphT_spy = (dictMonad) => {
12197
- const runWithGraphT1 = runWithGraphT(dictMonad);
12181
+ const runWithGraphT2 = runWithGraphT(dictMonad);
12198
12182
  const spyFunWhenM2 = spyFunWhenM(dictMonad.Bind1().Apply0().Functor0());
12199
12183
  return (dictGraph) => {
12200
- const $0 = runWithGraphT1(dictGraph);
12184
+ const $0 = runWithGraphT2(dictGraph);
12201
12185
  const $1 = spyFunWhenM2(false)("runWithGraphT")(showVertices)((x) => showEdgeList(toEdgeList(dictGraph)(x._1)));
12202
12186
  return (x) => $1($0(x));
12203
12187
  };
@@ -12212,7 +12196,7 @@ var monadWithGraphAllocWithGr = (dictMonadError) => {
12212
12196
  const monadWithGraphWithGraphT1 = monadWithGraphWithGraphT(monadStateT2);
12213
12197
  const monadErrorStateT2 = monadErrorStateT(monadErrorStateT(dictMonadError));
12214
12198
  return {
12215
- new: (\u03B1s) => (vd) => bindStateT2.bind(fresh1)((\u03B1) => bindStateT2.bind(monadWithGraphWithGraphT1.extend(\u03B1)(\u03B1s)(vd))(() => applicativeStateT(monadStateT2).pure(\u03B1))),
12199
+ new: (\u03B1s) => bindStateT2.bind(fresh1)((\u03B1) => bindStateT2.bind(monadWithGraphWithGraphT1.extend(\u03B1)(\u03B1s))(() => applicativeStateT(monadStateT2).pure(\u03B1))),
12216
12200
  MonadAlloc0: () => monadAllocWithGraphAllocT1,
12217
12201
  MonadError1: () => monadErrorStateT2,
12218
12202
  MonadWithGraph2: () => monadWithGraphWithGraphT1
@@ -12222,7 +12206,6 @@ var monadWithGraphAllocWithGr = (dictMonadError) => {
12222
12206
  // output-es/Graph.Slice/index.js
12223
12207
  var pure = /* @__PURE__ */ (() => applicativeStateT(monadIdentity).pure)();
12224
12208
  var extend = /* @__PURE__ */ (() => monadWithGraphWithGraphT(monadIdentity).extend)();
12225
- var pack2 = (x) => (k) => k(showString)(x);
12226
12209
  var tailRecM = /* @__PURE__ */ (() => monadRecStateT(monadRecIdentity).tailRecM)();
12227
12210
  var member3 = /* @__PURE__ */ (() => setSet(ordVertex).member)();
12228
12211
  var fromFoldable9 = /* @__PURE__ */ (() => foldableSet.foldr(Cons)(Nil))();
@@ -12248,7 +12231,7 @@ var fwdSlice = (dictGraph) => {
12248
12231
  fail();
12249
12232
  })();
12250
12233
  if (eqMap(eqVertex)(eqUnit).eq(\u03B2s)(dictGraph.outN($0)(v1.es._1._1))) {
12251
- return bindStateT(monadIdentity).bind(extend(v1.es._1._1)(\u03B2s)(pack2("uninit: fwd")))(() => pure($Step(
12234
+ return bindStateT(monadIdentity).bind(extend(v1.es._1._1)(\u03B2s))(() => pure($Step(
12252
12235
  "Loop",
12253
12236
  {
12254
12237
  pending: $$delete(ordVertex)(v1.es._1._1)(v1.pending),
@@ -12273,12 +12256,10 @@ var bwdSlice = (dictGraph) => {
12273
12256
  return pure($Step("Done", void 0));
12274
12257
  }
12275
12258
  if (v1.pending.tag === "Cons") {
12276
- const $2 = v1.pending._1._2._2;
12277
- const $3 = v1.pending._1._2._1;
12278
12259
  if (member3(v1.pending._1._1)(v1.visited)) {
12279
12260
  return pure($Step("Loop", { visited: v1.visited, "\u03B1s": Nil, pending: v1.pending._2 }));
12280
12261
  }
12281
- return bindStateT(monadIdentity).bind(extend(v1.pending._1._1)($3)(spyWhen(true)("Value found at " + showStringImpl(v1.pending._1._1))((v$1) => v$1((dictShow) => dictShow.show))($2)))(() => pure($Step(
12262
+ return bindStateT(monadIdentity).bind(extend(v1.pending._1._1)(v1.pending._1._2))(() => pure($Step(
12282
12263
  "Loop",
12283
12264
  { visited: insert(ordVertex)(v1.pending._1._1)()(v1.visited), "\u03B1s": Nil, pending: v1.pending._2 }
12284
12265
  )));
@@ -12292,7 +12273,7 @@ var bwdSlice = (dictGraph) => {
12292
12273
  {
12293
12274
  visited: v1.visited,
12294
12275
  "\u03B1s": foldableList.foldr(Cons)(v1["\u03B1s"]._2)(fromFoldable9(\u03B2s)),
12295
- pending: $List("Cons", $Tuple(v1["\u03B1s"]._1, $Tuple(\u03B2s, dictGraph.vertexData($0)(v1["\u03B1s"]._1))), v1.pending)
12276
+ pending: $List("Cons", $Tuple(v1["\u03B1s"]._1, \u03B2s), v1.pending)
12296
12277
  }
12297
12278
  ));
12298
12279
  }
@@ -17108,32 +17089,6 @@ var Dictionary3 = (value0) => $BaseVal("Dictionary", value0);
17108
17089
  var DictRep = (x) => x;
17109
17090
  var MatrixRep = (x) => x;
17110
17091
  var Env = (x) => x;
17111
- var showBaseVal = {
17112
- show: (v) => {
17113
- if (v.tag === "Int") {
17114
- return showIntImpl(v._1);
17115
- }
17116
- if (v.tag === "Float") {
17117
- return showNumberImpl(v._1);
17118
- }
17119
- if (v.tag === "Str") {
17120
- return showStringImpl(v._1);
17121
- }
17122
- if (v.tag === "Constr") {
17123
- return showStringImpl(v._1);
17124
- }
17125
- if (v.tag === "Dictionary") {
17126
- return "Dictionary";
17127
- }
17128
- if (v.tag === "Matrix") {
17129
- return "Matrix";
17130
- }
17131
- if (v.tag === "Fun") {
17132
- return "Function";
17133
- }
17134
- fail();
17135
- }
17136
- };
17137
17092
  var isEmptyEnv = { isEmpty: (v) => isEmpty2(v) };
17138
17093
  var setEnvString = {
17139
17094
  empty,
@@ -17919,7 +17874,7 @@ var string = {
17919
17874
  return typeError(v)("Str");
17920
17875
  }
17921
17876
  };
17922
- var unary = (dictShow) => (dictBoundedJoinSemilattice) => {
17877
+ var unary = (dictBoundedJoinSemilattice) => {
17923
17878
  const bot = dictBoundedJoinSemilattice.bot;
17924
17879
  return (id) => (f) => $Tuple(
17925
17880
  id,
@@ -17937,17 +17892,17 @@ var unary = (dictShow) => (dictBoundedJoinSemilattice) => {
17937
17892
  const $0 = dictMonadError.MonadThrow0().Monad0().Bind1().Apply0().Functor0();
17938
17893
  return (v) => {
17939
17894
  if (v.tag === "Cons" && v._2.tag === "Nil") {
17940
- const v$p = f.fwd(f.i.unpack(v._1._2));
17895
+ const $1 = v._1._2;
17941
17896
  return $0.map((() => {
17942
- const $1 = f.o;
17943
- return (v$1) => $Val(v$1._2, $1.pack(v$1._1));
17944
- })())($0.map((v2) => $Tuple(v$p, v2))(dictMonadWithGraphAlloc.new($$$Map(
17897
+ const $2 = f.o;
17898
+ return (v$1) => $Val(v$1._2, $2.pack(v$1._1));
17899
+ })())($0.map((v2) => $Tuple(f.fwd(f.i.unpack($1)), v2))(dictMonadWithGraphAlloc.new($$$Map(
17945
17900
  "Two",
17946
17901
  Leaf2,
17947
17902
  v._1._1,
17948
17903
  void 0,
17949
17904
  Leaf2
17950
- ))((k) => k(dictShow)(v$p))));
17905
+ ))));
17951
17906
  }
17952
17907
  fail();
17953
17908
  };
@@ -18076,7 +18031,7 @@ var $$boolean = {
18076
18031
  return typeError(v)("Boolean");
18077
18032
  }
18078
18033
  };
18079
- var binaryZero = (dictShow) => (dictBoundedJoinSemilattice) => {
18034
+ var binaryZero = (dictBoundedJoinSemilattice) => {
18080
18035
  const bot = dictBoundedJoinSemilattice.bot;
18081
18036
  return (dictIsZero) => (id) => (f) => $Tuple(
18082
18037
  id,
@@ -18096,11 +18051,10 @@ var binaryZero = (dictShow) => (dictBoundedJoinSemilattice) => {
18096
18051
  if (v.tag === "Cons" && v._2.tag === "Cons" && v._2._2.tag === "Nil") {
18097
18052
  const $1 = f.i.unpack(v._1._2);
18098
18053
  const $2 = f.i.unpack(v._2._1._2);
18099
- const v$p = f.fwd($1)($2);
18100
18054
  return $0.map((() => {
18101
18055
  const $3 = f.o;
18102
18056
  return (v$1) => $Val(v$1._2, $3.pack(v$1._1));
18103
- })())($0.map((v4) => $Tuple(v$p, v4))(dictMonadWithGraphAlloc.new((() => {
18057
+ })())($0.map((v4) => $Tuple(f.fwd($1)($2), v4))(dictMonadWithGraphAlloc.new((() => {
18104
18058
  if (dictIsZero.isZero($1)) {
18105
18059
  return $$$Map("Two", Leaf2, v._1._1, void 0, Leaf2);
18106
18060
  }
@@ -18114,7 +18068,7 @@ var binaryZero = (dictShow) => (dictBoundedJoinSemilattice) => {
18114
18068
  void 0,
18115
18069
  Leaf2
18116
18070
  ));
18117
- })())((k) => k(dictShow)(v$p))));
18071
+ })())));
18118
18072
  }
18119
18073
  fail();
18120
18074
  };
@@ -18165,7 +18119,7 @@ var binaryZero = (dictShow) => (dictBoundedJoinSemilattice) => {
18165
18119
  )
18166
18120
  );
18167
18121
  };
18168
- var binary = (dictShow) => (dictBoundedJoinSemilattice) => {
18122
+ var binary = (dictBoundedJoinSemilattice) => {
18169
18123
  const bot = dictBoundedJoinSemilattice.bot;
18170
18124
  return (id) => (f) => $Tuple(
18171
18125
  id,
@@ -18183,17 +18137,18 @@ var binary = (dictShow) => (dictBoundedJoinSemilattice) => {
18183
18137
  const $0 = dictMonadError.MonadThrow0().Monad0().Bind1().Apply0().Functor0();
18184
18138
  return (v) => {
18185
18139
  if (v.tag === "Cons" && v._2.tag === "Cons" && v._2._2.tag === "Nil") {
18186
- const v$p = f.fwd(f.i1.unpack(v._1._2))(f.i2.unpack(v._2._1._2));
18140
+ const $1 = v._1._2;
18141
+ const $2 = v._2._1._2;
18187
18142
  return $0.map((() => {
18188
- const $1 = f.o;
18189
- return (v$1) => $Val(v$1._2, $1.pack(v$1._1));
18190
- })())($0.map((v3) => $Tuple(v$p, v3))(dictMonadWithGraphAlloc.new(insert(ordVertex)(v._2._1._1)()($$$Map(
18143
+ const $3 = f.o;
18144
+ return (v$1) => $Val(v$1._2, $3.pack(v$1._1));
18145
+ })())($0.map((v3) => $Tuple(f.fwd(f.i1.unpack($1))(f.i2.unpack($2)), v3))(dictMonadWithGraphAlloc.new(insert(ordVertex)(v._2._1._1)()($$$Map(
18191
18146
  "Two",
18192
18147
  Leaf2,
18193
18148
  v._1._1,
18194
18149
  void 0,
18195
18150
  Leaf2
18196
- )))((k) => k(dictShow)(v$p))));
18151
+ )))));
18197
18152
  }
18198
18153
  fail();
18199
18154
  };
@@ -18261,7 +18216,6 @@ var show22 = /* @__PURE__ */ (() => showSet(showString).show)();
18261
18216
  var toUnfoldable9 = /* @__PURE__ */ toUnfoldable4(unfoldableList);
18262
18217
  var union1 = /* @__PURE__ */ (() => setSet(ordString).union)();
18263
18218
  var fv = /* @__PURE__ */ (() => fVDict(fVElim).fv)();
18264
- var pack3 = (x) => (k) => k(showBaseVal)(x);
18265
18219
  var fromFoldable18 = /* @__PURE__ */ fromFoldable2(foldableList);
18266
18220
  var greaterThanOrEq = /* @__PURE__ */ (() => {
18267
18221
  const $0 = ordTuple(ordInt)(ordInt);
@@ -18387,22 +18341,22 @@ var closeDefs = (dictMonadWithGraphAlloc) => {
18387
18341
  const traverse2 = traversableDict.traverse(Monad0.Applicative0());
18388
18342
  return (\u03B3) => (\u03C1) => (\u03B1s) => Functor0.map(Env)(traverse2((\u03C3) => {
18389
18343
  const \u03C1$p = forDefs(\u03C1)(\u03C3);
18390
- const v = $BaseVal(
18344
+ const $0 = $BaseVal(
18391
18345
  "Fun",
18392
18346
  $Fun(
18393
18347
  "Closure",
18394
18348
  (() => {
18395
- const $0 = union1(fv(\u03C1$p))(fVElim.fv(\u03C3));
18349
+ const $02 = union1(fv(\u03C1$p))(fVElim.fv(\u03C3));
18396
18350
  return filterWithKey2((x) => {
18397
- const $1 = setSet(ordString).member(x)($0);
18398
- return (v2) => $1;
18351
+ const $1 = setSet(ordString).member(x)($02);
18352
+ return (v) => $1;
18399
18353
  })(\u03B3);
18400
18354
  })(),
18401
18355
  \u03C1$p,
18402
18356
  \u03C3
18403
18357
  )
18404
18358
  );
18405
- return Functor0.map((f) => f(v))(Functor0.map(Val)(dictMonadWithGraphAlloc.new(\u03B1s)(pack3(v))));
18359
+ return Functor0.map((f) => f($0))(Functor0.map(Val)(dictMonadWithGraphAlloc.new(\u03B1s)));
18406
18360
  })(\u03C1));
18407
18361
  };
18408
18362
  var $$eval = (dictMonadWithGraphAlloc) => {
@@ -18427,22 +18381,13 @@ var $$eval = (dictMonadWithGraphAlloc) => {
18427
18381
  return withMsg2("Variable lookup")(lookup$p(MonadThrow0)(showString)(mapEnvStringVal)(v1._1)(v));
18428
18382
  }
18429
18383
  if (v1.tag === "Int") {
18430
- return Functor0.map((f) => f($BaseVal("Int", v1._2)))(Functor0.map(Val)(dictMonadWithGraphAlloc.new(insert(ordVertex)(v1._1)()(v2))(pack3($BaseVal(
18431
- "Int",
18432
- v1._2
18433
- )))));
18384
+ return Functor0.map((f) => f($BaseVal("Int", v1._2)))(Functor0.map(Val)(dictMonadWithGraphAlloc.new(insert(ordVertex)(v1._1)()(v2))));
18434
18385
  }
18435
18386
  if (v1.tag === "Float") {
18436
- return Functor0.map((f) => f($BaseVal("Float", v1._2)))(Functor0.map(Val)(dictMonadWithGraphAlloc.new(insert(ordVertex)(v1._1)()(v2))(pack3($BaseVal(
18437
- "Float",
18438
- v1._2
18439
- )))));
18387
+ return Functor0.map((f) => f($BaseVal("Float", v1._2)))(Functor0.map(Val)(dictMonadWithGraphAlloc.new(insert(ordVertex)(v1._1)()(v2))));
18440
18388
  }
18441
18389
  if (v1.tag === "Str") {
18442
- return Functor0.map((f) => f($BaseVal("Str", v1._2)))(Functor0.map(Val)(dictMonadWithGraphAlloc.new(insert(ordVertex)(v1._1)()(v2))(pack3($BaseVal(
18443
- "Str",
18444
- v1._2
18445
- )))));
18390
+ return Functor0.map((f) => f($BaseVal("Str", v1._2)))(Functor0.map(Val)(dictMonadWithGraphAlloc.new(insert(ordVertex)(v1._1)()(v2))));
18446
18391
  }
18447
18392
  if (v1.tag === "Dictionary") {
18448
18393
  const $0 = v1._1;
@@ -18451,8 +18396,8 @@ var $$eval = (dictMonadWithGraphAlloc) => {
18451
18396
  return (a) => $1(a)(v2);
18452
18397
  })()))(v1._2)))((v3) => {
18453
18398
  const v4 = unzip(listMap((v$1) => $Tuple(v$1._2.tag === "Str" ? v$1._2._1 : typeError(v$1._2)("Str"), v$1._1))(v3._1));
18454
- const v5 = $BaseVal("Dictionary", fromFoldable18(zipWith2(Tuple)(v4._1)(zipWith2(Tuple)(v4._2)(v3._2))));
18455
- return Functor0.map((f) => f(v5))(Functor0.map(Val)(dictMonadWithGraphAlloc.new(insert(ordVertex)($0)()(v2))(pack3(v5))));
18399
+ const $1 = $BaseVal("Dictionary", fromFoldable18(zipWith2(Tuple)(v4._1)(zipWith2(Tuple)(v4._2)(v3._2))));
18400
+ return Functor0.map((f) => f($1))(Functor0.map(Val)(dictMonadWithGraphAlloc.new(insert(ordVertex)($0)()(v2))));
18456
18401
  });
18457
18402
  }
18458
18403
  if (v1.tag === "Constr") {
@@ -18482,11 +18427,7 @@ var $$eval = (dictMonadWithGraphAlloc) => {
18482
18427
  })()))(() => Bind1.bind(traverse2((() => {
18483
18428
  const $3 = $$eval(dictMonadWithGraphAlloc)(v);
18484
18429
  return (a) => $3(a)(v2);
18485
- })())($1))((vs) => Functor0.map((f) => f($BaseVal("Constr", $0, vs)))(Functor0.map(Val)(dictMonadWithGraphAlloc.new(insert(ordVertex)($2)()(v2))(pack3($BaseVal(
18486
- "Constr",
18487
- $0,
18488
- vs
18489
- )))))));
18430
+ })())($1))((vs) => Functor0.map((f) => f($BaseVal("Constr", $0, vs)))(Functor0.map(Val)(dictMonadWithGraphAlloc.new(insert(ordVertex)($2)()(v2))))));
18490
18431
  }
18491
18432
  if (v1.tag === "Matrix") {
18492
18433
  const $0 = v1._2;
@@ -18514,21 +18455,18 @@ var $$eval = (dictMonadWithGraphAlloc) => {
18514
18455
  return $8;
18515
18456
  })())))($0)(v2)
18516
18457
  ]))
18517
- ])))((vss) => Functor0.map((f) => f($BaseVal("Matrix", $Tuple(vss, $Tuple($Tuple($4, $6), $Tuple($5, $7))))))(Functor0.map(Val)(dictMonadWithGraphAlloc.new(insert(ordVertex)($3)()(v2))(pack3($BaseVal(
18518
- "Matrix",
18519
- $Tuple(vss, $Tuple($Tuple($4, $6), $Tuple($5, $7)))
18520
- )))))));
18458
+ ])))((vss) => Functor0.map((f) => f($BaseVal("Matrix", $Tuple(vss, $Tuple($Tuple($4, $6), $Tuple($5, $7))))))(Functor0.map(Val)(dictMonadWithGraphAlloc.new(insert(ordVertex)($3)()(v2))))));
18521
18459
  });
18522
18460
  }
18523
18461
  if (v1.tag === "Lambda") {
18524
- const v3 = $BaseVal(
18462
+ const $0 = $BaseVal(
18525
18463
  "Fun",
18526
18464
  $Fun(
18527
18465
  "Closure",
18528
18466
  (() => {
18529
- const $0 = fVElim.fv(v1._2);
18467
+ const $02 = fVElim.fv(v1._2);
18530
18468
  return filterWithKey2((x) => {
18531
- const $1 = setSet(ordString).member(x)($0);
18469
+ const $1 = setSet(ordString).member(x)($02);
18532
18470
  return (v$1) => $1;
18533
18471
  })(v);
18534
18472
  })(),
@@ -18536,7 +18474,7 @@ var $$eval = (dictMonadWithGraphAlloc) => {
18536
18474
  v1._2
18537
18475
  )
18538
18476
  );
18539
- return Functor0.map((f) => f(v3))(Functor0.map(Val)(dictMonadWithGraphAlloc.new(insert(ordVertex)(v1._1)()(v2))(pack3(v3))));
18477
+ return Functor0.map((f) => f($0))(Functor0.map(Val)(dictMonadWithGraphAlloc.new(insert(ordVertex)(v1._1)()(v2))));
18540
18478
  }
18541
18479
  if (v1.tag === "Project") {
18542
18480
  const $0 = v1._2;
@@ -18635,7 +18573,7 @@ var apply2 = (dictMonadWithGraphAlloc) => {
18635
18573
  v._1,
18636
18574
  void 0,
18637
18575
  Leaf2
18638
- ))(pack3($BaseVal("Fun", $Fun("Foreign", $Tuple($1, $2), vs$p))))));
18576
+ ))));
18639
18577
  }
18640
18578
  return $2._1["op'"](dictMonadWithGraphAlloc)(MonadError1)(vs$p);
18641
18579
  }
@@ -18686,26 +18624,26 @@ var apply2 = (dictMonadWithGraphAlloc) => {
18686
18624
  };
18687
18625
  return go(0)($2) < (n - 1 | 0);
18688
18626
  })()) {
18689
- const v$p2 = $BaseVal(
18627
+ const $42 = $BaseVal(
18690
18628
  "Fun",
18691
18629
  $Fun("PartialConstr", $1, foldableList.foldr(Cons)($List("Cons", v1, Nil))($2))
18692
18630
  );
18693
- return Functor0.map((f) => f(v$p2))(Functor0.map(Val)(dictMonadWithGraphAlloc.new($$$Map(
18631
+ return Functor0.map((f) => f($42))(Functor0.map(Val)(dictMonadWithGraphAlloc.new($$$Map(
18694
18632
  "Two",
18695
18633
  Leaf2,
18696
18634
  $3,
18697
18635
  void 0,
18698
18636
  Leaf2
18699
- ))(pack3(v$p2))));
18637
+ ))));
18700
18638
  }
18701
- const v$p = $BaseVal("Constr", $1, foldableList.foldr(Cons)($List("Cons", v1, Nil))($2));
18702
- return Functor0.map((f) => f(v$p))(Functor0.map(Val)(dictMonadWithGraphAlloc.new($$$Map(
18639
+ const $4 = $BaseVal("Constr", $1, foldableList.foldr(Cons)($List("Cons", v1, Nil))($2));
18640
+ return Functor0.map((f) => f($4))(Functor0.map(Val)(dictMonadWithGraphAlloc.new($$$Map(
18703
18641
  "Two",
18704
18642
  Leaf2,
18705
18643
  $3,
18706
18644
  void 0,
18707
18645
  Leaf2
18708
- ))(pack3(v$p))));
18646
+ ))));
18709
18647
  });
18710
18648
  }
18711
18649
  }
@@ -23974,7 +23912,6 @@ var apply2Bwd = (dictAnn) => {
23974
23912
  };
23975
23913
 
23976
23914
  // output-es/Primitive.Defs/index.js
23977
- var pack4 = (x) => (k) => k(showBaseVal)(x);
23978
23915
  var erase = /* @__PURE__ */ (() => functorVal.map((v) => {
23979
23916
  }))();
23980
23917
  var unzip6 = /* @__PURE__ */ unzip3(functorDict);
@@ -23984,24 +23921,11 @@ var foldWithIndexM = (dictMonad) => (f) => (a0) => foldableWithIndexStringDi.fol
23984
23921
  return (a) => $0(a)(b);
23985
23922
  })()))(dictMonad.Applicative0().pure(a0));
23986
23923
  var disjointUnion5 = /* @__PURE__ */ disjointUnion(mapDictString);
23987
- var unary2 = /* @__PURE__ */ unary(showInt)(boundedJoinSemilatticeUni);
23988
- var showEither = {
23989
- show: (v) => {
23990
- if (v.tag === "Left") {
23991
- return "(Left " + showIntImpl(v._1) + ")";
23992
- }
23993
- if (v.tag === "Right") {
23994
- return "(Right " + showNumberImpl(v._1) + ")";
23995
- }
23996
- fail();
23997
- }
23998
- };
23999
- var binary2 = /* @__PURE__ */ binary(showEither)(boundedJoinSemilatticeUni);
24000
- var binaryZero2 = /* @__PURE__ */ (() => binaryZero(showEither)(boundedJoinSemilatticeUni)({
24001
- isZero: fanin2(isZeroInt.isZero)(isZeroNumber.isZero)
24002
- }))();
24003
- var binary1 = /* @__PURE__ */ binary(showBoolean)(boundedJoinSemilatticeUni);
24004
- var binaryZero1 = /* @__PURE__ */ binaryZero(showInt)(boundedJoinSemilatticeUni)(isZeroInt);
23924
+ var unary2 = /* @__PURE__ */ unary(boundedJoinSemilatticeUni);
23925
+ var binary2 = /* @__PURE__ */ binary(boundedJoinSemilatticeUni);
23926
+ var binaryZero2 = /* @__PURE__ */ binaryZero(boundedJoinSemilatticeUni);
23927
+ var binaryZero1 = /* @__PURE__ */ (() => binaryZero2({ isZero: fanin2(isZeroInt.isZero)(isZeroNumber.isZero) }))();
23928
+ var binaryZero22 = /* @__PURE__ */ binaryZero2(isZeroInt);
24005
23929
  var pow3 = /* @__PURE__ */ union5(asNumberIntOrNumber)(asNumberIntOrNumber)(asIntNumber)(asIntNumber)((x) => (y) => pow(toNumber(x))(toNumber(y)))(pow);
24006
23930
  var numToStr = (v2) => {
24007
23931
  if (v2.tag === "Left") {
@@ -24023,14 +23947,14 @@ var matrixUpdate = /* @__PURE__ */ $Tuple(
24023
23947
  return (v) => {
24024
23948
  if (v.tag === "Cons" && v._1._2.tag === "Matrix" && v._2.tag === "Cons" && v._2._1._2.tag === "Constr" && v._2._1._2._2.tag === "Cons" && v._2._1._2._2._1._2.tag === "Int" && v._2._1._2._2._2.tag === "Cons" && v._2._1._2._2._2._1._2.tag === "Int" && v._2._1._2._2._2._2.tag === "Nil" && v._2._2.tag === "Cons" && v._2._2._2.tag === "Nil" && v._2._1._2._1 === "Pair") {
24025
23949
  const $0 = v._2._2._1;
24026
- const v$p = $BaseVal("Matrix", matrixPut(v._2._1._2._2._1._2._1)(v._2._1._2._2._2._1._2._1)((v$1) => $0)(v._1._2._1));
24027
- return Functor0.map((f) => f(v$p))(Functor0.map(Val)(dictMonadWithGraphAlloc.new($$$Map(
23950
+ const $1 = $BaseVal("Matrix", matrixPut(v._2._1._2._2._1._2._1)(v._2._1._2._2._2._1._2._1)((v$1) => $0)(v._1._2._1));
23951
+ return Functor0.map((f) => f($1))(Functor0.map(Val)(dictMonadWithGraphAlloc.new($$$Map(
24028
23952
  "Two",
24029
23953
  Leaf2,
24030
23954
  v._1._1,
24031
23955
  void 0,
24032
23956
  Leaf2
24033
- ))(pack4(v$p))));
23957
+ ))));
24034
23958
  }
24035
23959
  return MonadThrow0.throwError(error("Matrix, pair of integers and value expected"));
24036
23960
  };
@@ -24212,31 +24136,28 @@ var dims = /* @__PURE__ */ $Tuple(
24212
24136
  const Functor0 = Bind1.Apply0().Functor0();
24213
24137
  return (v) => {
24214
24138
  if (v.tag === "Cons" && v._1._2.tag === "Matrix" && v._2.tag === "Nil") {
24215
- const $0 = v._1._2._1._2._1._1;
24216
- const $1 = v._1._2._1._2._2._1;
24217
- const $2 = v._1._1;
24218
- const $3 = v._1._2._1._2._2._2;
24219
- return Bind1.bind(Functor0.map((f) => f($BaseVal("Int", $0)))(Functor0.map(Val)(dictMonadWithGraphAlloc.new($$$Map(
24139
+ const $0 = v._1._2._1._2._2._1;
24140
+ const $1 = v._1._1;
24141
+ const $2 = v._1._2._1._2._2._2;
24142
+ return Bind1.bind(Functor0.map((f) => f($BaseVal("Int", v._1._2._1._2._1._1)))(Functor0.map(Val)(dictMonadWithGraphAlloc.new($$$Map(
24220
24143
  "Two",
24221
24144
  Leaf2,
24222
24145
  v._1._2._1._2._1._2,
24223
24146
  void 0,
24224
24147
  Leaf2
24225
- ))(pack4($BaseVal("Int", $0))))))((v1) => Bind1.bind(Functor0.map((f) => f($BaseVal("Int", $1)))(Functor0.map(Val)(dictMonadWithGraphAlloc.new($$$Map(
24148
+ )))))((v1) => Bind1.bind(Functor0.map((f) => f($BaseVal("Int", $0)))(Functor0.map(Val)(dictMonadWithGraphAlloc.new($$$Map(
24226
24149
  "Two",
24227
24150
  Leaf2,
24228
- $3,
24151
+ $2,
24229
24152
  void 0,
24230
24153
  Leaf2
24231
- ))(pack4($BaseVal("Int", $1))))))((v2) => Functor0.map((f) => f($BaseVal(
24232
- "Constr",
24233
- "Pair",
24234
- $List("Cons", v1, $List("Cons", v2, Nil))
24235
- )))(Functor0.map(Val)(dictMonadWithGraphAlloc.new($$$Map("Two", Leaf2, $2, void 0, Leaf2))(pack4($BaseVal(
24236
- "Constr",
24237
- "Pair",
24238
- $List("Cons", v1, $List("Cons", v2, Nil))
24239
- )))))));
24154
+ )))))((v2) => Functor0.map((f) => f($BaseVal("Constr", "Pair", $List("Cons", v1, $List("Cons", v2, Nil)))))(Functor0.map(Val)(dictMonadWithGraphAlloc.new($$$Map(
24155
+ "Two",
24156
+ Leaf2,
24157
+ $1,
24158
+ void 0,
24159
+ Leaf2
24160
+ ))))));
24240
24161
  }
24241
24162
  return MonadThrow0.throwError(error("Matrix expected"));
24242
24163
  };
@@ -24316,7 +24237,7 @@ var dict_map = /* @__PURE__ */ $Tuple(
24316
24237
  $1,
24317
24238
  void 0,
24318
24239
  Leaf2
24319
- ))(pack4($BaseVal("Dictionary", d$p))))));
24240
+ )))));
24320
24241
  }
24321
24242
  return MonadThrow0.throwError(error("Function and dictionary expected"));
24322
24243
  };
@@ -24381,31 +24302,27 @@ var dict_intersectionWith = /* @__PURE__ */ $Tuple(
24381
24302
  const Bind1 = Monad0.Bind1();
24382
24303
  const Apply0 = Bind1.Apply0();
24383
24304
  const $0 = Apply0.Functor0();
24384
- const Applicative0 = Monad0.Applicative0();
24305
+ const sequence1 = traversableDict.sequence(Monad0.Applicative0());
24385
24306
  return (v) => {
24386
24307
  if (v.tag === "Cons" && v._2.tag === "Cons" && v._2._1._2.tag === "Dictionary" && v._2._2.tag === "Cons" && v._2._2._1._2.tag === "Dictionary" && v._2._2._2.tag === "Nil") {
24387
24308
  const $1 = v._1;
24388
- const $2 = v._2._1._1;
24389
- const $3 = v._2._2._1._1;
24390
- const v$p = $0.map(Dictionary3)($0.map(DictRep)(traversableDict.traverse(Applicative0)(identity15)(intersectionWith_Object((v2) => (v3) => {
24391
- const $4 = v3._2;
24392
- const $5 = v2._1;
24393
- const $6 = v3._1;
24394
- return Bind1.bind(Bind1.bind(apply6($1)(v2._2))((a) => apply6(a)($4)))((v4) => Bind1.bind(dictMonadWithGraphAlloc.new(insert(ordVertex)($6)()($$$Map(
24395
- "Two",
24396
- Leaf2,
24397
- $5,
24398
- void 0,
24399
- Leaf2
24400
- )))(pack4(v4._2)))((\u03B2$p$p) => $0.map(Tuple(\u03B2$p$p))(Applicative0.pure(v4))));
24401
- })(v._2._1._2._1)(v._2._2._1._2._1))));
24402
- return Bind1.bind(v$p)((packable) => Apply0.apply($0.map(Val)(dictMonadWithGraphAlloc.new(insert(ordVertex)($3)()($$$Map(
24309
+ return Apply0.apply($0.map(Val)(dictMonadWithGraphAlloc.new(insert(ordVertex)(v._2._2._1._1)()($$$Map(
24403
24310
  "Two",
24404
24311
  Leaf2,
24405
- $2,
24312
+ v._2._1._1,
24406
24313
  void 0,
24407
24314
  Leaf2
24408
- )))(pack4(packable))))(v$p));
24315
+ )))))($0.map(Dictionary3)($0.map(DictRep)(sequence1(intersectionWith_Object((v2) => (v3) => {
24316
+ const $2 = v2._2;
24317
+ const $3 = v3._2;
24318
+ return Bind1.bind(dictMonadWithGraphAlloc.new(insert(ordVertex)(v3._1)()($$$Map(
24319
+ "Two",
24320
+ Leaf2,
24321
+ v2._1,
24322
+ void 0,
24323
+ Leaf2
24324
+ ))))((\u03B2$p$p) => $0.map(Tuple(\u03B2$p$p))(Bind1.bind(apply6($1)($2))((a) => apply6(a)($3))));
24325
+ })(v._2._1._2._1)(v._2._2._1._2._1)))));
24409
24326
  }
24410
24327
  return MonadThrow0.throwError(error("Function and two dictionaries expected"));
24411
24328
  };
@@ -24638,14 +24555,14 @@ var dict_disjointUnion = /* @__PURE__ */ $Tuple(
24638
24555
  const Functor0 = MonadThrow0.Monad0().Bind1().Apply0().Functor0();
24639
24556
  return (v) => {
24640
24557
  if (v.tag === "Cons" && v._1._2.tag === "Dictionary" && v._2.tag === "Cons" && v._2._1._2.tag === "Dictionary" && v._2._2.tag === "Nil") {
24641
- const v1 = $BaseVal("Dictionary", disjointUnion5(v._1._2._1)(v._2._1._2._1));
24642
- return Functor0.map((f) => f(v1))(Functor0.map(Val)(dictMonadWithGraphAlloc.new(insert(ordVertex)(v._2._1._1)()($$$Map(
24558
+ const $0 = $BaseVal("Dictionary", disjointUnion5(v._1._2._1)(v._2._1._2._1));
24559
+ return Functor0.map((f) => f($0))(Functor0.map(Val)(dictMonadWithGraphAlloc.new(insert(ordVertex)(v._2._1._1)()($$$Map(
24643
24560
  "Two",
24644
24561
  Leaf2,
24645
24562
  v._1._1,
24646
24563
  void 0,
24647
24564
  Leaf2
24648
- )))(pack4(v1))));
24565
+ )))));
24649
24566
  }
24650
24567
  return MonadThrow0.throwError(error("Dictionaries expected"));
24651
24568
  };
@@ -24686,14 +24603,14 @@ var dict_difference = /* @__PURE__ */ $Tuple(
24686
24603
  const Functor0 = MonadThrow0.Monad0().Bind1().Apply0().Functor0();
24687
24604
  return (v) => {
24688
24605
  if (v.tag === "Cons" && v._1._2.tag === "Dictionary" && v._2.tag === "Cons" && v._2._1._2.tag === "Dictionary" && v._2._2.tag === "Nil") {
24689
- const v1 = $BaseVal("Dictionary", mapFObjectString.difference(v._1._2._1)(v._2._1._2._1));
24690
- return Functor0.map((f) => f(v1))(Functor0.map(Val)(dictMonadWithGraphAlloc.new(insert(ordVertex)(v._2._1._1)()($$$Map(
24606
+ const $0 = $BaseVal("Dictionary", mapFObjectString.difference(v._1._2._1)(v._2._1._2._1));
24607
+ return Functor0.map((f) => f($0))(Functor0.map(Val)(dictMonadWithGraphAlloc.new(insert(ordVertex)(v._2._1._1)()($$$Map(
24691
24608
  "Two",
24692
24609
  Leaf2,
24693
24610
  v._1._1,
24694
24611
  void 0,
24695
24612
  Leaf2
24696
- )))(pack4(v1))));
24613
+ )))));
24697
24614
  }
24698
24615
  return MonadThrow0.throwError(error("Dictionaries expected."));
24699
24616
  };
@@ -24762,8 +24679,8 @@ var primitives = /* @__PURE__ */ fromFoldable2(foldableArray)([
24762
24679
  /* @__PURE__ */ extern1(dims),
24763
24680
  /* @__PURE__ */ extern1(error_),
24764
24681
  /* @__PURE__ */ unary2("floor")({ i: number, o: $$int, fwd: floor2 }),
24765
- /* @__PURE__ */ unary(showNumber)(boundedJoinSemilatticeUni)("log")({ i: intOrNumber, o: number, fwd: log3 }),
24766
- /* @__PURE__ */ unary(showString)(boundedJoinSemilatticeUni)("numToStr")({ i: intOrNumber, o: string, fwd: numToStr }),
24682
+ /* @__PURE__ */ unary2("log")({ i: intOrNumber, o: number, fwd: log3 }),
24683
+ /* @__PURE__ */ unary2("numToStr")({ i: intOrNumber, o: string, fwd: numToStr }),
24767
24684
  /* @__PURE__ */ binary2("+")({
24768
24685
  i1: intOrNumber,
24769
24686
  i2: intOrNumber,
@@ -24776,30 +24693,25 @@ var primitives = /* @__PURE__ */ fromFoldable2(foldableArray)([
24776
24693
  o: intOrNumber,
24777
24694
  fwd: /* @__PURE__ */ union5(asIntIntOrNumber)(asNumberIntOrNumber)(asIntNumber)(asIntNumber)(intSub)(numSub)
24778
24695
  }),
24779
- /* @__PURE__ */ binaryZero2("*")({
24696
+ /* @__PURE__ */ binaryZero1("*")({
24780
24697
  i: intOrNumber,
24781
24698
  o: intOrNumber,
24782
24699
  fwd: /* @__PURE__ */ union5(asIntIntOrNumber)(asNumberIntOrNumber)(asIntNumber)(asIntNumber)(intMul)(numMul)
24783
24700
  }),
24784
- /* @__PURE__ */ binaryZero2("**")({ i: intOrNumber, o: intOrNumber, fwd: pow3 }),
24785
- /* @__PURE__ */ binaryZero2("/")({ i: intOrNumber, o: intOrNumber, fwd: divide }),
24786
- /* @__PURE__ */ binary1("==")({
24701
+ /* @__PURE__ */ binaryZero1("**")({ i: intOrNumber, o: intOrNumber, fwd: pow3 }),
24702
+ /* @__PURE__ */ binaryZero1("/")({ i: intOrNumber, o: intOrNumber, fwd: divide }),
24703
+ /* @__PURE__ */ binary2("==")({
24787
24704
  i1: intOrNumberOrString,
24788
24705
  i2: intOrNumberOrString,
24789
24706
  o: $$boolean,
24790
24707
  fwd: /* @__PURE__ */ union5(asBooleanBoolean)(asBooleanBoolean)(asIntNumberOrString)(asIntNumberOrString)(eqIntImpl)(/* @__PURE__ */ unionStr(asBooleanBoolean)(asNumberString)(eqNumberImpl)(eqStringImpl))
24791
24708
  }),
24792
- /* @__PURE__ */ binary1("/=")({ i1: intOrNumberOrString, i2: intOrNumberOrString, o: $$boolean, fwd: notEquals }),
24793
- /* @__PURE__ */ binary1("<")({ i1: intOrNumberOrString, i2: intOrNumberOrString, o: $$boolean, fwd: lessThan }),
24794
- /* @__PURE__ */ binary1(">")({ i1: intOrNumberOrString, i2: intOrNumberOrString, o: $$boolean, fwd: greaterThan }),
24795
- /* @__PURE__ */ binary1("<=")({ i1: intOrNumberOrString, i2: intOrNumberOrString, o: $$boolean, fwd: lessThanEquals }),
24796
- /* @__PURE__ */ binary1(">=")({ i1: intOrNumberOrString, i2: intOrNumberOrString, o: $$boolean, fwd: greaterThanEquals }),
24797
- /* @__PURE__ */ binary(showString)(boundedJoinSemilatticeUni)("++")({
24798
- i1: string,
24799
- i2: string,
24800
- o: string,
24801
- fwd: concatString
24802
- }),
24709
+ /* @__PURE__ */ binary2("/=")({ i1: intOrNumberOrString, i2: intOrNumberOrString, o: $$boolean, fwd: notEquals }),
24710
+ /* @__PURE__ */ binary2("<")({ i1: intOrNumberOrString, i2: intOrNumberOrString, o: $$boolean, fwd: lessThan }),
24711
+ /* @__PURE__ */ binary2(">")({ i1: intOrNumberOrString, i2: intOrNumberOrString, o: $$boolean, fwd: greaterThan }),
24712
+ /* @__PURE__ */ binary2("<=")({ i1: intOrNumberOrString, i2: intOrNumberOrString, o: $$boolean, fwd: lessThanEquals }),
24713
+ /* @__PURE__ */ binary2(">=")({ i1: intOrNumberOrString, i2: intOrNumberOrString, o: $$boolean, fwd: greaterThanEquals }),
24714
+ /* @__PURE__ */ binary2("++")({ i1: string, i2: string, o: string, fwd: concatString }),
24803
24715
  /* @__PURE__ */ extern1(matrixLookup),
24804
24716
  /* @__PURE__ */ extern1(dict_difference),
24805
24717
  /* @__PURE__ */ extern1(dict_disjointUnion),
@@ -24808,10 +24720,10 @@ var primitives = /* @__PURE__ */ fromFoldable2(foldableArray)([
24808
24720
  /* @__PURE__ */ extern1(dict_intersectionWith),
24809
24721
  /* @__PURE__ */ extern1(dict_map),
24810
24722
  /* @__PURE__ */ extern1(matrixUpdate),
24811
- /* @__PURE__ */ binaryZero1("div")({ i: $$int, o: $$int, fwd: intDiv2 }),
24812
- /* @__PURE__ */ binaryZero1("mod")({ i: $$int, o: $$int, fwd: intMod }),
24813
- /* @__PURE__ */ binaryZero1("quot")({ i: $$int, o: $$int, fwd: quot }),
24814
- /* @__PURE__ */ binaryZero1("rem")({ i: $$int, o: $$int, fwd: rem })
24723
+ /* @__PURE__ */ binaryZero22("div")({ i: $$int, o: $$int, fwd: intDiv2 }),
24724
+ /* @__PURE__ */ binaryZero22("mod")({ i: $$int, o: $$int, fwd: intMod }),
24725
+ /* @__PURE__ */ binaryZero22("quot")({ i: $$int, o: $$int, fwd: quot }),
24726
+ /* @__PURE__ */ binaryZero22("rem")({ i: $$int, o: $$int, fwd: rem })
24815
24727
  ]);
24816
24728
 
24817
24729
  // output-es/ProgCxt/index.js
@@ -28532,7 +28444,7 @@ var parseImports = /* @__PURE__ */ $Parser(
28532
28444
  );
28533
28445
  var evaluate = (v) => {
28534
28446
  const $0 = v._1.fileName;
28535
- const fluidSrcPaths = ["fluid", ...v._1.library ? ["node_modules/@explorable-viz/fluid"] : []];
28447
+ const fluidSrcPaths = ["fluid", ...v._1.library ? ["node_modules/@explorable-viz/fluid/dist/fluid/fluid"] : []];
28536
28448
  return _bind(loadProgCxt3(fluidSrcPaths)(v._1.imports)(v._1.datasets))((progCxt) => _bind(prepConfig3(fluidSrcPaths)($0)(progCxt))((v1) => _bind(graphEval2(v1.gconfig)(v1.e))((v2) => _pure($Val(
28537
28449
  void 0,
28538
28450
  functorBaseVal.map((v$1) => {