@explorable-viz/fluid 0.7.106 → 0.8.0

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.
@@ -1375,10 +1375,10 @@ var insert = (k) => (v) => mutate(($0) => () => {
1375
1375
  var functorObject = { map: (f) => (m) => _fmapObject(m, f) };
1376
1376
  var functorWithIndexObject = { mapWithIndex: mapWithKey, Functor0: () => functorObject };
1377
1377
  var fromFoldable = (dictFoldable) => {
1378
- const fromFoldable113 = fromFoldableImpl(dictFoldable.foldr);
1378
+ const fromFoldable114 = fromFoldableImpl(dictFoldable.foldr);
1379
1379
  return (l) => {
1380
1380
  const s = {};
1381
- for (const v of fromFoldable113(l)) {
1381
+ for (const v of fromFoldable114(l)) {
1382
1382
  s[v._1] = v._2;
1383
1383
  }
1384
1384
  return s;
@@ -1487,6 +1487,7 @@ function _caseJson(isNull2, isBool, isNum, isStr, isArr, isObj, j) {
1487
1487
  // output-es/Data.Argonaut.Core/index.js
1488
1488
  var jsonEmptyObject = /* @__PURE__ */ id(empty);
1489
1489
  var caseJsonString = (d) => (f) => (j) => _caseJson((v) => d, (v) => d, (v) => d, f, (v) => d, (v) => d, j);
1490
+ var caseJson = (a) => (b) => (c) => (d) => (e) => (f) => (json) => _caseJson(a, b, c, d, e, f, json);
1490
1491
 
1491
1492
  // output-es/Data.Argonaut.Parser/foreign.js
1492
1493
  function _jsonParser(fail3, succ, s) {
@@ -21742,10 +21743,10 @@ var eqMap = (dictEq) => (dictEq1) => {
21742
21743
  };
21743
21744
  var fromFoldable2 = (dictOrd) => (dictFoldable) => dictFoldable.foldl((m) => (v) => insert3(dictOrd)(v._1)(v._2)(m))(Leaf2);
21744
21745
  var filterWithKey2 = (dictOrd) => {
21745
- const fromFoldable113 = fromFoldable2(dictOrd)(foldableList2);
21746
+ const fromFoldable114 = fromFoldable2(dictOrd)(foldableList2);
21746
21747
  return (predicate) => {
21747
21748
  const $0 = filter3((v) => predicate(v._1)(v._2));
21748
- return (x2) => fromFoldable113($0(toUnfoldable3(unfoldableList2)(x2)));
21749
+ return (x2) => fromFoldable114($0(toUnfoldable3(unfoldableList2)(x2)));
21749
21750
  };
21750
21751
  };
21751
21752
  var $$delete3 = (dictOrd) => (k) => (m) => {
@@ -22340,9 +22341,9 @@ var mapFObjectString = {
22340
22341
  mapWithKey
22341
22342
  };
22342
22343
  var asMaplet = (dictMap) => {
22343
- const toUnfoldable16 = dictMap.toUnfoldable(unfoldableList);
22344
+ const toUnfoldable17 = dictMap.toUnfoldable(unfoldableList);
22344
22345
  return (m) => assertWith("")(dictMap.Set0().size(m) === 1)(definitely("singleton map")((() => {
22345
- const $0 = toUnfoldable16(m);
22346
+ const $0 = toUnfoldable17(m);
22346
22347
  if ($0.tag === "Nil") {
22347
22348
  return Nothing;
22348
22349
  }
@@ -34521,7 +34522,7 @@ var toUnfoldable13 = /* @__PURE__ */ toAscUnfoldable(unfoldableList);
34521
34522
  var Simple = /* @__PURE__ */ $ExprType("Simple");
34522
34523
  var Expression = /* @__PURE__ */ $ExprType("Expression");
34523
34524
  var vert = (dictFoldable) => {
34524
- const fromFoldable26 = dictFoldable.foldr(Cons)(Nil);
34525
+ const fromFoldable27 = dictFoldable.foldr(Cons)(Nil);
34525
34526
  return (delim) => {
34526
34527
  const vert$p = (v) => {
34527
34528
  if (v.tag === "Nil") {
@@ -34537,7 +34538,7 @@ var vert = (dictFoldable) => {
34537
34538
  }
34538
34539
  fail();
34539
34540
  };
34540
- return (x2) => vert$p(fromFoldable26(x2));
34541
+ return (x2) => vert$p(fromFoldable27(x2));
34541
34542
  };
34542
34543
  };
34543
34544
  var vert1 = /* @__PURE__ */ vert(foldableArray);
@@ -36216,7 +36217,7 @@ var unary = (dictBoundedJoinSemilattice) => {
36216
36217
  arity: 1,
36217
36218
  op: (dictMonadWithGraphAlloc) => {
36218
36219
  const $$new = dictMonadWithGraphAlloc.new(typeNameVal);
36219
- return (dictMonadError) => (dictMonadReader) => (dictLoadFile) => (v) => {
36220
+ return (dictMonadError) => (dictMonadAff) => (dictMonadReader) => (dictLoadFile) => (v) => {
36220
36221
  if (v.tag === "Cons" && v._2.tag === "Nil") {
36221
36222
  const $0 = v._1._2;
36222
36223
  return $$new((a) => Val(a)($0))($$$Map("Two", Leaf2, v._1._1, void 0, Leaf2))(f.o.pack(f.fwd(f.i.unpack(v._1._3))));
@@ -36365,7 +36366,7 @@ var binaryZero = (dictBoundedJoinSemilattice) => {
36365
36366
  arity: 2,
36366
36367
  op: (dictMonadWithGraphAlloc) => {
36367
36368
  const $$new = dictMonadWithGraphAlloc.new(typeNameVal);
36368
- return (dictMonadError) => (dictMonadReader) => (dictLoadFile) => (v) => {
36369
+ return (dictMonadError) => (dictMonadAff) => (dictMonadReader) => (dictLoadFile) => (v) => {
36369
36370
  if (v.tag === "Cons" && v._2.tag === "Cons" && v._2._2.tag === "Nil") {
36370
36371
  const $0 = f.i.unpack(v._1._3);
36371
36372
  const $1 = f.i.unpack(v._2._1._3);
@@ -36413,7 +36414,7 @@ var binary = (dictBoundedJoinSemilattice) => {
36413
36414
  arity: 2,
36414
36415
  op: (dictMonadWithGraphAlloc) => {
36415
36416
  const $$new = dictMonadWithGraphAlloc.new(typeNameVal);
36416
- return (dictMonadError) => (dictMonadReader) => (dictLoadFile) => (v) => {
36417
+ return (dictMonadError) => (dictMonadAff) => (dictMonadReader) => (dictLoadFile) => (v) => {
36417
36418
  if (v.tag === "Cons" && v._2.tag === "Cons" && v._2._2.tag === "Nil") {
36418
36419
  return $$new((a) => Val(a)(None))(insert3(ordVertex)(v._2._1._1)()($$$Map(
36419
36420
  "Two",
@@ -40087,14 +40088,14 @@ var closeDefs = (dictMonadWithGraphAlloc) => {
40087
40088
  var new$p = (dictMonadWithGraphAlloc) => {
40088
40089
  const $$new = dictMonadWithGraphAlloc.new(typeNameVal);
40089
40090
  const fresh = dictMonadWithGraphAlloc.MonadAlloc0().fresh;
40090
- return (dictMonadReader) => {
40091
- const Monad0 = dictMonadReader.MonadAsk0().Monad0();
40091
+ return (dictMonadReader) => (dictMonadAff) => {
40092
+ const Monad0 = dictMonadAff.MonadEffect0().Monad0();
40092
40093
  const Bind1 = Monad0.Bind1();
40093
40094
  return (dictLoadFile) => (v) => (v1) => (v2) => (v3) => {
40094
40095
  if (v2.tag === "None") {
40095
40096
  return $$new((\u03B1s$p) => (u$p) => $Val(\u03B1s$p, None, u$p))(v1)(v3);
40096
40097
  }
40097
- return Bind1.bind(fresh)((\u03B1) => Bind1.bind(evalDocOpt(dictMonadWithGraphAlloc)(dictMonadReader)(dictLoadFile)(unionWith((v$1) => identity18)(v)((() => {
40098
+ return Bind1.bind(fresh)((\u03B1) => Bind1.bind(evalDocOpt(dictMonadWithGraphAlloc)(dictMonadReader)(dictMonadAff)(dictLoadFile)(unionWith((v$1) => identity18)(v)((() => {
40098
40099
  const $0 = {};
40099
40100
  $0.this = $Val(\u03B1, None, v3);
40100
40101
  return $0;
@@ -40106,8 +40107,8 @@ var new$p = (dictMonadWithGraphAlloc) => {
40106
40107
  };
40107
40108
  };
40108
40109
  };
40109
- var evalDocOpt = (dictMonadWithGraphAlloc) => (dictMonadReader) => {
40110
- const Monad0 = dictMonadReader.MonadAsk0().Monad0();
40110
+ var evalDocOpt = (dictMonadWithGraphAlloc) => (dictMonadReader) => (dictMonadAff) => {
40111
+ const Monad0 = dictMonadAff.MonadEffect0().Monad0();
40111
40112
  const Applicative0 = Monad0.Applicative0();
40112
40113
  const $0 = Monad0.Bind1().Apply0().Functor0();
40113
40114
  const sequence2 = traversableList.traverse(Applicative0)(identity7);
@@ -40121,7 +40122,7 @@ var evalDocOpt = (dictMonadWithGraphAlloc) => (dictMonadReader) => {
40121
40122
  return Applicative0.pure($DocCommentElem("Token", v2._1));
40122
40123
  }
40123
40124
  if (v2.tag === "Unquote") {
40124
- return $0.map(Unquote)($$eval(dictMonadWithGraphAlloc)(dictMonadReader)(dictLoadFile)(v)(v2._1)(setSet4.empty));
40125
+ return $0.map(Unquote)($$eval(dictMonadWithGraphAlloc)(dictMonadReader)(dictMonadAff)(dictLoadFile)(v)(v2._1)(setSet4.empty));
40125
40126
  }
40126
40127
  fail();
40127
40128
  })(v1._1)));
@@ -40137,8 +40138,8 @@ var $$eval = (dictMonadWithGraphAlloc) => {
40137
40138
  const $$new = dictMonadWithGraphAlloc.new(typeNameVal);
40138
40139
  const match1 = match(dictMonadWithGraphAlloc);
40139
40140
  const closeDefs1 = closeDefs(dictMonadWithGraphAlloc);
40140
- return (dictMonadReader) => {
40141
- const Monad0 = dictMonadReader.MonadAsk0().Monad0();
40141
+ return (dictMonadReader) => (dictMonadAff) => {
40142
+ const Monad0 = dictMonadAff.MonadEffect0().Monad0();
40142
40143
  const Bind1 = Monad0.Bind1();
40143
40144
  const $0 = Bind1.Apply0().Functor0();
40144
40145
  const Applicative0 = Monad0.Applicative0();
@@ -40153,23 +40154,32 @@ var $$eval = (dictMonadWithGraphAlloc) => {
40153
40154
  return withMsg2("Variable lookup")(lookup$p(MonadThrow0)(showString)(mapEnvStringVal)(v1._1)(v));
40154
40155
  }
40155
40156
  if (v1.tag === "Int") {
40156
- return new$p(dictMonadWithGraphAlloc)(dictMonadReader)(dictLoadFile)(v)(insert3(ordVertex)(v1._1)()(v2))(v1._2)($BaseVal("Int", v1._3));
40157
+ return new$p(dictMonadWithGraphAlloc)(dictMonadReader)(dictMonadAff)(dictLoadFile)(v)(insert3(ordVertex)(v1._1)()(v2))(v1._2)($BaseVal(
40158
+ "Int",
40159
+ v1._3
40160
+ ));
40157
40161
  }
40158
40162
  if (v1.tag === "Float") {
40159
- return new$p(dictMonadWithGraphAlloc)(dictMonadReader)(dictLoadFile)(v)(insert3(ordVertex)(v1._1)()(v2))(v1._2)($BaseVal("Float", v1._3));
40163
+ return new$p(dictMonadWithGraphAlloc)(dictMonadReader)(dictMonadAff)(dictLoadFile)(v)(insert3(ordVertex)(v1._1)()(v2))(v1._2)($BaseVal(
40164
+ "Float",
40165
+ v1._3
40166
+ ));
40160
40167
  }
40161
40168
  if (v1.tag === "Str") {
40162
- return new$p(dictMonadWithGraphAlloc)(dictMonadReader)(dictLoadFile)(v)(insert3(ordVertex)(v1._1)()(v2))(v1._2)($BaseVal("Str", v1._3));
40169
+ return new$p(dictMonadWithGraphAlloc)(dictMonadReader)(dictMonadAff)(dictLoadFile)(v)(insert3(ordVertex)(v1._1)()(v2))(v1._2)($BaseVal(
40170
+ "Str",
40171
+ v1._3
40172
+ ));
40163
40173
  }
40164
40174
  if (v1.tag === "Dictionary") {
40165
40175
  const $1 = v1._2;
40166
40176
  const $2 = v1._1;
40167
40177
  return Bind1.bind($0.map(unzip3)(traverse2(traverse3((() => {
40168
- const $3 = $$eval(dictMonadWithGraphAlloc)(dictMonadReader)(dictLoadFile)(v);
40178
+ const $3 = $$eval(dictMonadWithGraphAlloc)(dictMonadReader)(dictMonadAff)(dictLoadFile)(v);
40169
40179
  return (a) => $3(a)(v2);
40170
40180
  })()))(v1._3)))((v3) => {
40171
40181
  const v4 = unzip(listMap((v$1) => $Tuple(v$1._3.tag === "Str" ? v$1._3._1 : typeError(v$1._3)("Str"), v$1._1))(v3._1));
40172
- return new$p(dictMonadWithGraphAlloc)(dictMonadReader)(dictLoadFile)(v)(insert3(ordVertex)($2)()(v2))($1)($BaseVal(
40182
+ return new$p(dictMonadWithGraphAlloc)(dictMonadReader)(dictMonadAff)(dictLoadFile)(v)(insert3(ordVertex)($2)()(v2))($1)($BaseVal(
40173
40183
  "Dictionary",
40174
40184
  fromFoldable110(zipWith2(Tuple)(v4._1)(zipWith2(Tuple)(v4._2)(v3._2)))
40175
40185
  ));
@@ -40201,9 +40211,13 @@ var $$eval = (dictMonadWithGraphAlloc) => {
40201
40211
  };
40202
40212
  return go(0)($3);
40203
40213
  })()))(() => Bind1.bind(traverse2((() => {
40204
- const $5 = $$eval(dictMonadWithGraphAlloc)(dictMonadReader)(dictLoadFile)(v);
40214
+ const $5 = $$eval(dictMonadWithGraphAlloc)(dictMonadReader)(dictMonadAff)(dictLoadFile)(v);
40205
40215
  return (a) => $5(a)(v2);
40206
- })())($3))((vs) => new$p(dictMonadWithGraphAlloc)(dictMonadReader)(dictLoadFile)(v)(insert3(ordVertex)($4)()(v2))($2)($BaseVal("Constr", $1, vs))));
40216
+ })())($3))((vs) => new$p(dictMonadWithGraphAlloc)(dictMonadReader)(dictMonadAff)(dictLoadFile)(v)(insert3(ordVertex)($4)()(v2))($2)($BaseVal(
40217
+ "Constr",
40218
+ $1,
40219
+ vs
40220
+ ))));
40207
40221
  }
40208
40222
  if (v1.tag === "Matrix") {
40209
40223
  const $1 = v1._2;
@@ -40211,7 +40225,7 @@ var $$eval = (dictMonadWithGraphAlloc) => {
40211
40225
  const $3 = v1._4._1;
40212
40226
  const $4 = v1._4._2;
40213
40227
  const $5 = v1._1;
40214
- return Bind1.bind($$eval(dictMonadWithGraphAlloc)(dictMonadReader)(dictLoadFile)(v)(v1._5)(v2))((v3) => {
40228
+ return Bind1.bind($$eval(dictMonadWithGraphAlloc)(dictMonadReader)(dictMonadAff)(dictLoadFile)(v)(v1._5)(v2))((v3) => {
40215
40229
  const v5 = intPair.unpack(v3._3);
40216
40230
  const $6 = v5._1._1;
40217
40231
  const $7 = v5._2._1;
@@ -40222,7 +40236,7 @@ var $$eval = (dictMonadWithGraphAlloc) => {
40222
40236
  1
40223
40237
  )) + "); got (" + show32($Tuple($6, $7)) + ")"))(() => Bind1.bind(sequence2(arrayBind(range(1)($6))((i) => [
40224
40238
  sequence2(arrayBind(range(1)($7))((j) => [
40225
- $$eval(dictMonadWithGraphAlloc)(dictMonadReader)(dictLoadFile)(unionWith((v$1) => identity18)(v)(disjointUnion2((() => {
40239
+ $$eval(dictMonadWithGraphAlloc)(dictMonadReader)(dictMonadAff)(dictLoadFile)(unionWith((v$1) => identity18)(v)(disjointUnion2((() => {
40226
40240
  const $10 = {};
40227
40241
  $10[$3] = $Val($8, None, $BaseVal("Int", i));
40228
40242
  return $10;
@@ -40232,7 +40246,7 @@ var $$eval = (dictMonadWithGraphAlloc) => {
40232
40246
  return $10;
40233
40247
  })())))($2)(v2)
40234
40248
  ]))
40235
- ])))((vss) => new$p(dictMonadWithGraphAlloc)(dictMonadReader)(dictLoadFile)(v)(insert3(ordVertex)($5)()(v2))($1)($BaseVal(
40249
+ ])))((vss) => new$p(dictMonadWithGraphAlloc)(dictMonadReader)(dictMonadAff)(dictLoadFile)(v)(insert3(ordVertex)($5)()(v2))($1)($BaseVal(
40236
40250
  "Matrix",
40237
40251
  $Tuple(vss, $Tuple($Tuple($6, $8), $Tuple($7, $9)))
40238
40252
  ))));
@@ -40258,7 +40272,7 @@ var $$eval = (dictMonadWithGraphAlloc) => {
40258
40272
  if (v1.tag === "Project") {
40259
40273
  const $1 = v1._1;
40260
40274
  const $2 = v1._3;
40261
- return Bind1.bind($$eval(dictMonadWithGraphAlloc)(dictMonadReader)(dictLoadFile)(v)(v1._2)(v2))((v3) => {
40275
+ return Bind1.bind($$eval(dictMonadWithGraphAlloc)(dictMonadReader)(dictMonadAff)(dictLoadFile)(v)(v1._2)(v2))((v3) => {
40262
40276
  if (v3._3.tag === "Dictionary") {
40263
40277
  return Bind1.bind(withMsg2("Dict lookup")(orElse(MonadThrow0)('Key "' + $2 + '" not found')((() => {
40264
40278
  const $3 = _lookup(Nothing, Just, $2, v3._3._1);
@@ -40266,7 +40280,7 @@ var $$eval = (dictMonadWithGraphAlloc) => {
40266
40280
  return $Maybe("Just", $3._1._2);
40267
40281
  }
40268
40282
  return Nothing;
40269
- })())))((v$p) => concatDocs(dictMonadWithGraphAlloc)(dictMonadReader)(dictLoadFile)(v)(v$p)($1));
40283
+ })())))((v$p) => concatDocs(dictMonadWithGraphAlloc)(dictMonadReader)(dictMonadAff)(dictLoadFile)(v)(v$p)($1));
40270
40284
  }
40271
40285
  return MonadThrow0.throwError(error("Found " + intercalate4("\n")(removeDocWS(prettyVal(highlightableVertex).pretty(v3)).lines) + ", expected dictionary"));
40272
40286
  });
@@ -40274,7 +40288,7 @@ var $$eval = (dictMonadWithGraphAlloc) => {
40274
40288
  if (v1.tag === "DProject") {
40275
40289
  const $1 = v1._1;
40276
40290
  const $2 = v1._3;
40277
- return Bind1.bind($$eval(dictMonadWithGraphAlloc)(dictMonadReader)(dictLoadFile)(v)(v1._2)(v2))((v3) => Bind1.bind($$eval(dictMonadWithGraphAlloc)(dictMonadReader)(dictLoadFile)(v)($2)(v2))((v$p) => {
40291
+ return Bind1.bind($$eval(dictMonadWithGraphAlloc)(dictMonadReader)(dictMonadAff)(dictLoadFile)(v)(v1._2)(v2))((v3) => Bind1.bind($$eval(dictMonadWithGraphAlloc)(dictMonadReader)(dictMonadAff)(dictLoadFile)(v)($2)(v2))((v$p) => {
40278
40292
  if (v3._3.tag === "Dictionary") {
40279
40293
  if (v$p._3.tag === "Str") {
40280
40294
  return Bind1.bind(withMsg2("Dict lookup")(orElse(MonadThrow0)('Key "' + v$p._3._1 + '" not found')((() => {
@@ -40283,7 +40297,7 @@ var $$eval = (dictMonadWithGraphAlloc) => {
40283
40297
  return $Maybe("Just", $3._1._2);
40284
40298
  }
40285
40299
  return Nothing;
40286
- })())))((v$p$p) => concatDocs(dictMonadWithGraphAlloc)(dictMonadReader)(dictLoadFile)(v)(v$p$p)($1));
40300
+ })())))((v$p$p) => concatDocs(dictMonadWithGraphAlloc)(dictMonadReader)(dictMonadAff)(dictLoadFile)(v)(v$p$p)($1));
40287
40301
  }
40288
40302
  return MonadThrow0.throwError(error("Found " + intercalate4("\n")(removeDocWS(prettyVal(highlightableVertex).pretty(v$p)).lines) + ", expected string"));
40289
40303
  }
@@ -40293,10 +40307,10 @@ var $$eval = (dictMonadWithGraphAlloc) => {
40293
40307
  if (v1.tag === "App") {
40294
40308
  const $1 = v1._1;
40295
40309
  const $2 = v1._3;
40296
- return Bind1.bind($$eval(dictMonadWithGraphAlloc)(dictMonadReader)(dictLoadFile)(v)(v1._2)(v2))((v3) => Bind1.bind($$eval(dictMonadWithGraphAlloc)(dictMonadReader)(dictLoadFile)(v)($2)(v2))((v$p) => Bind1.bind(apply2(dictMonadWithGraphAlloc)(dictMonadReader)(dictLoadFile)(v3)(v$p))((v4) => {
40310
+ return Bind1.bind($$eval(dictMonadWithGraphAlloc)(dictMonadReader)(dictMonadAff)(dictLoadFile)(v)(v1._2)(v2))((v3) => Bind1.bind($$eval(dictMonadWithGraphAlloc)(dictMonadReader)(dictMonadAff)(dictLoadFile)(v)($2)(v2))((v$p) => Bind1.bind(apply2(dictMonadWithGraphAlloc)(dictMonadReader)(dictMonadAff)(dictLoadFile)(v3)(v$p))((v4) => {
40297
40311
  const $3 = v4._3;
40298
40312
  const $4 = v4._1;
40299
- return Bind1.bind(evalDocOpt(dictMonadWithGraphAlloc)(dictMonadReader)(dictLoadFile)(unionWith((v$1) => identity18)(v)((() => {
40313
+ return Bind1.bind(evalDocOpt(dictMonadWithGraphAlloc)(dictMonadReader)(dictMonadAff)(dictLoadFile)(unionWith((v$1) => identity18)(v)((() => {
40300
40314
  const $5 = {};
40301
40315
  $5.this = v4;
40302
40316
  return $5;
@@ -40306,24 +40320,24 @@ var $$eval = (dictMonadWithGraphAlloc) => {
40306
40320
  if (v1.tag === "Let") {
40307
40321
  const $1 = v1._2;
40308
40322
  const $2 = v1._1._1;
40309
- return Bind1.bind($$eval(dictMonadWithGraphAlloc)(dictMonadReader)(dictLoadFile)(v)(v1._1._2)(v2))((v3) => Bind1.bind(match1(v3)($2))((v4) => $$eval(dictMonadWithGraphAlloc)(dictMonadReader)(dictLoadFile)(unionWith((v$1) => identity18)(v)(v4._1))($1)(v4._2._2)));
40323
+ return Bind1.bind($$eval(dictMonadWithGraphAlloc)(dictMonadReader)(dictMonadAff)(dictLoadFile)(v)(v1._1._2)(v2))((v3) => Bind1.bind(match1(v3)($2))((v4) => $$eval(dictMonadWithGraphAlloc)(dictMonadReader)(dictMonadAff)(dictLoadFile)(unionWith((v$1) => identity18)(v)(v4._1))($1)(v4._2._2)));
40310
40324
  }
40311
40325
  if (v1.tag === "LetRec") {
40312
40326
  const $1 = v1._2;
40313
40327
  const $2 = v1._1._1;
40314
- return Bind1.bind(closeDefs1(v)(v1._1._2)(insert3(ordVertex)($2)()(v2)))((\u03B3$p) => $$eval(dictMonadWithGraphAlloc)(dictMonadReader)(dictLoadFile)(unionWith((v$1) => identity18)(v)(\u03B3$p))($1)(insert3(ordVertex)($2)()(v2)));
40328
+ return Bind1.bind(closeDefs1(v)(v1._1._2)(insert3(ordVertex)($2)()(v2)))((\u03B3$p) => $$eval(dictMonadWithGraphAlloc)(dictMonadReader)(dictMonadAff)(dictLoadFile)(unionWith((v$1) => identity18)(v)(\u03B3$p))($1)(insert3(ordVertex)($2)()(v2)));
40315
40329
  }
40316
40330
  fail();
40317
40331
  };
40318
40332
  };
40319
40333
  };
40320
- var concatDocs = (dictMonadWithGraphAlloc) => (dictMonadReader) => {
40321
- const Monad0 = dictMonadReader.MonadAsk0().Monad0();
40334
+ var concatDocs = (dictMonadWithGraphAlloc) => (dictMonadReader) => (dictMonadAff) => {
40335
+ const Monad0 = dictMonadAff.MonadEffect0().Monad0();
40322
40336
  return (dictLoadFile) => (\u03B3) => (v) => (doc2) => {
40323
40337
  const $0 = v._3;
40324
40338
  const $1 = v._2;
40325
40339
  const $2 = v._1;
40326
- return Monad0.Bind1().bind(evalDocOpt(dictMonadWithGraphAlloc)(dictMonadReader)(dictLoadFile)(unionWith((v$1) => identity18)(\u03B3)((() => {
40340
+ return Monad0.Bind1().bind(evalDocOpt(dictMonadWithGraphAlloc)(dictMonadReader)(dictMonadAff)(dictLoadFile)(unionWith((v$1) => identity18)(\u03B3)((() => {
40327
40341
  const $3 = {};
40328
40342
  $3.this = $Val($2, None, $0);
40329
40343
  return $3;
@@ -40336,8 +40350,8 @@ var apply2 = (dictMonadWithGraphAlloc) => {
40336
40350
  const $$new = dictMonadWithGraphAlloc.new(typeNameVal);
40337
40351
  const MonadError1 = dictMonadWithGraphAlloc.MonadError1();
40338
40352
  const MonadThrow0 = MonadError1.MonadThrow0();
40339
- return (dictMonadReader) => {
40340
- const Bind1 = dictMonadReader.MonadAsk0().Monad0().Bind1();
40353
+ return (dictMonadReader) => (dictMonadAff) => {
40354
+ const Bind1 = dictMonadAff.MonadEffect0().Monad0().Bind1();
40341
40355
  return (dictLoadFile) => (v) => (v1) => {
40342
40356
  const $0 = (v2) => MonadThrow0.throwError(error("Found " + intercalate4("\n")(removeDocWS(prettyVal(highlightableVertex).pretty(v2)).lines) + ", expected function"));
40343
40357
  if (v._3.tag === "Fun") {
@@ -40345,7 +40359,7 @@ var apply2 = (dictMonadWithGraphAlloc) => {
40345
40359
  const $1 = v._1;
40346
40360
  const $2 = v._3._1._1;
40347
40361
  const $3 = v._3._1._3;
40348
- return Bind1.bind(closeDefs1($2)(v._3._1._2)($$$Map("Two", Leaf2, $1, void 0, Leaf2)))((\u03B32) => Bind1.bind(match1(v1)($3))((v3) => $$eval(dictMonadWithGraphAlloc)(dictMonadReader)(dictLoadFile)(unionWith((v$1) => identity18)(unionWith((v$1) => identity18)($2)(\u03B32))(v3._1))(v3._2._1.tag === "ContExpr" ? v3._2._1._1 : throwException(error("Expression expected"))())(insert3(ordVertex)($1)()(v3._2._2))));
40362
+ return Bind1.bind(closeDefs1($2)(v._3._1._2)($$$Map("Two", Leaf2, $1, void 0, Leaf2)))((\u03B32) => Bind1.bind(match1(v1)($3))((v3) => $$eval(dictMonadWithGraphAlloc)(dictMonadReader)(dictMonadAff)(dictLoadFile)(unionWith((v$1) => identity18)(unionWith((v$1) => identity18)($2)(\u03B32))(v3._1))(v3._2._1.tag === "ContExpr" ? v3._2._1._1 : throwException(error("Expression expected"))())(insert3(ordVertex)($1)()(v3._2._2))));
40349
40363
  }
40350
40364
  if (v._3._1.tag === "Foreign") {
40351
40365
  const $1 = v._3._1._1._2;
@@ -40376,7 +40390,7 @@ var apply2 = (dictMonadWithGraphAlloc) => {
40376
40390
  $Fun("Foreign", $Tuple(v._3._1._1._1, $1), vs$p)
40377
40391
  ));
40378
40392
  }
40379
- return $1._1.op(dictMonadWithGraphAlloc)(MonadError1)(dictMonadReader)(dictLoadFile)(vs$p);
40393
+ return $1._1.op(dictMonadWithGraphAlloc)(MonadError1)(dictMonadAff)(dictMonadReader)(dictLoadFile)(vs$p);
40380
40394
  }
40381
40395
  if (v._3._1.tag === "PartialConstr") {
40382
40396
  const $1 = v._1;
@@ -40451,30 +40465,33 @@ var eval_module = (dictMonadWithGraphAlloc) => {
40451
40465
  const match1 = match(dictMonadWithGraphAlloc);
40452
40466
  const closeDefs1 = closeDefs(dictMonadWithGraphAlloc);
40453
40467
  return (dictMonadReader) => {
40454
- const Monad0 = dictMonadReader.MonadAsk0().Monad0();
40455
- const $0 = Monad0.Bind1();
40456
40468
  const eval2 = eval1(dictMonadReader);
40457
- return (dictLoadFile) => {
40458
- const eval3 = eval2(dictLoadFile);
40459
- return (\u03B3) => {
40460
- const go = (v) => (v1) => (v2) => {
40461
- if (v1.tag === "Nil") {
40462
- return Monad0.Applicative0().pure(v);
40463
- }
40464
- if (v1.tag === "Cons") {
40465
- if (v1._1.tag === "Left") {
40466
- const $1 = v1._2;
40467
- const $2 = v1._1._1._1;
40468
- return $0.bind(eval3(unionWith((v$1) => identity18)(\u03B3)(v))(v1._1._1._2)(v2))((v3) => $0.bind(match1(v3)($2))((v4) => go(unionWith((v$1) => identity18)(v)(v4._1))($1)(v4._2._2)));
40469
+ return (dictMonadAff) => {
40470
+ const Monad0 = dictMonadAff.MonadEffect0().Monad0();
40471
+ const $0 = Monad0.Bind1();
40472
+ const eval3 = eval2(dictMonadAff);
40473
+ return (dictLoadFile) => {
40474
+ const eval4 = eval3(dictLoadFile);
40475
+ return (\u03B3) => {
40476
+ const go = (v) => (v1) => (v2) => {
40477
+ if (v1.tag === "Nil") {
40478
+ return Monad0.Applicative0().pure(v);
40469
40479
  }
40470
- if (v1._1.tag === "Right") {
40471
- const $1 = v1._2;
40472
- return $0.bind(closeDefs1(unionWith((v$1) => identity18)(\u03B3)(v))(v1._1._1._2)(insert3(ordVertex)(v1._1._1._1)()(v2)))((\u03B3$p$p) => go(unionWith((v$1) => identity18)(v)(\u03B3$p$p))($1)(v2));
40480
+ if (v1.tag === "Cons") {
40481
+ if (v1._1.tag === "Left") {
40482
+ const $1 = v1._2;
40483
+ const $2 = v1._1._1._1;
40484
+ return $0.bind(eval4(unionWith((v$1) => identity18)(\u03B3)(v))(v1._1._1._2)(v2))((v3) => $0.bind(match1(v3)($2))((v4) => go(unionWith((v$1) => identity18)(v)(v4._1))($1)(v4._2._2)));
40485
+ }
40486
+ if (v1._1.tag === "Right") {
40487
+ const $1 = v1._2;
40488
+ return $0.bind(closeDefs1(unionWith((v$1) => identity18)(\u03B3)(v))(v1._1._1._2)(insert3(ordVertex)(v1._1._1._1)()(v2)))((\u03B3$p$p) => go(unionWith((v$1) => identity18)(v)(\u03B3$p$p))($1)(v2));
40489
+ }
40473
40490
  }
40474
- }
40475
- fail();
40491
+ fail();
40492
+ };
40493
+ return go(empty);
40476
40494
  };
40477
- return go(empty);
40478
40495
  };
40479
40496
  };
40480
40497
  };
@@ -40483,23 +40500,27 @@ var eval_progCxt = (dictMonadWithGraphAlloc) => {
40483
40500
  const eval_module1 = eval_module(dictMonadWithGraphAlloc);
40484
40501
  const eval1 = $$eval(dictMonadWithGraphAlloc);
40485
40502
  return (dictMonadReader) => {
40486
- const Monad0 = dictMonadReader.MonadAsk0().Monad0();
40487
- const $0 = Monad0.Bind1();
40488
40503
  const eval_module2 = eval_module1(dictMonadReader);
40489
- const $1 = Monad0.Applicative0();
40490
40504
  const eval2 = eval1(dictMonadReader);
40491
- const concatM1 = concatM(Monad0);
40492
- return (dictLoadFile) => {
40493
- const eval_module3 = eval_module2(dictLoadFile);
40494
- const eval3 = eval2(dictLoadFile);
40495
- return (v) => concatM1(foldableList.foldr(Cons)(listMap((v1) => (\u03B3) => {
40496
- const $2 = v1._1;
40497
- return $0.bind(eval3(\u03B3)(v1._2)(setSet4.empty))((v2) => $1.pure(unionWith((v$1) => identity18)(\u03B3)((() => {
40498
- const $3 = {};
40499
- $3[$2] = v2;
40500
- return $3;
40501
- })())));
40502
- })(reverse2(v.datasets)))(listMap((mod) => (\u03B3) => $0.bind(eval_module3(\u03B3)(mod)(setSet4.empty))((\u03B3$p) => $1.pure(unionWith((v$1) => identity18)(\u03B3)(\u03B3$p))))(reverse2(v.mods))))(v.primitives);
40505
+ return (dictMonadAff) => {
40506
+ const Monad0 = dictMonadAff.MonadEffect0().Monad0();
40507
+ const $0 = Monad0.Bind1();
40508
+ const eval_module3 = eval_module2(dictMonadAff);
40509
+ const $1 = Monad0.Applicative0();
40510
+ const eval3 = eval2(dictMonadAff);
40511
+ const concatM1 = concatM(Monad0);
40512
+ return (dictLoadFile) => {
40513
+ const eval_module4 = eval_module3(dictLoadFile);
40514
+ const eval4 = eval3(dictLoadFile);
40515
+ return (v) => concatM1(foldableList.foldr(Cons)(listMap((v1) => (\u03B3) => {
40516
+ const $2 = v1._1;
40517
+ return $0.bind(eval4(\u03B3)(v1._2)(setSet4.empty))((v2) => $1.pure(unionWith((v$1) => identity18)(\u03B3)((() => {
40518
+ const $3 = {};
40519
+ $3[$2] = v2;
40520
+ return $3;
40521
+ })())));
40522
+ })(reverse2(v.datasets)))(listMap((mod) => (\u03B3) => $0.bind(eval_module4(\u03B3)(mod)(setSet4.empty))((\u03B3$p) => $1.pure(unionWith((v$1) => identity18)(\u03B3)(\u03B3$p))))(reverse2(v.mods))))(v.primitives);
40523
+ };
40503
40524
  };
40504
40525
  };
40505
40526
  };
@@ -40513,12 +40534,14 @@ var graphEval = (dictMonadAff) => {
40513
40534
  Applicative0: () => applicativeStateT(Monad0),
40514
40535
  Bind1: () => bindStateT(Monad0)
40515
40536
  })(graphGraphImpl);
40516
- const $1 = monadAffState(dictMonadAff).MonadEffect0().Monad0();
40537
+ const monadAffState2 = monadAffState(dictMonadAff);
40538
+ const monadAffState1 = monadAffState(monadAffState2);
40539
+ const $1 = monadAffState2.MonadEffect0().Monad0();
40517
40540
  const $2 = dictMonadAff.MonadEffect0().Monad0();
40518
40541
  return (dictMonadReader) => {
40519
40542
  const monadReaderStateT2 = monadReaderStateT(monadReaderStateT(dictMonadReader));
40520
40543
  return (dictLoadFile) => (dictMonadError) => {
40521
- const eval1 = $$eval(monadWithGraphAllocWithGr(dictMonadError))(monadReaderStateT2)((() => {
40544
+ const eval1 = $$eval(monadWithGraphAllocWithGr(dictMonadError))(monadReaderStateT2)(monadAffState1)((() => {
40522
40545
  const loadFile1 = dictLoadFile.loadFile(dictMonadError)(dictMonadAff);
40523
40546
  return {
40524
40547
  loadFile: (dictMonadError1) => (dictMonadAff1) => (folders) => {
@@ -43817,9 +43840,58 @@ var module_ = /* @__PURE__ */ (() => {
43817
43840
  ));
43818
43841
  })();
43819
43842
 
43843
+ // output-es/Data.Argonaut.Decode.Error/index.js
43844
+ var $JsonDecodeError = (tag, _1, _2) => ({ tag, _1, _2 });
43845
+ var AtIndex = (value0) => (value1) => $JsonDecodeError("AtIndex", value0, value1);
43846
+ var AtKey = (value0) => (value1) => $JsonDecodeError("AtKey", value0, value1);
43847
+ var Named = (value0) => (value1) => $JsonDecodeError("Named", value0, value1);
43848
+ var MissingValue = /* @__PURE__ */ $JsonDecodeError("MissingValue");
43849
+ var showJsonDecodeError = {
43850
+ show: (v) => {
43851
+ if (v.tag === "TypeMismatch") {
43852
+ return "(TypeMismatch " + showStringImpl(v._1) + ")";
43853
+ }
43854
+ if (v.tag === "UnexpectedValue") {
43855
+ return "(UnexpectedValue " + stringify(v._1) + ")";
43856
+ }
43857
+ if (v.tag === "AtIndex") {
43858
+ return "(AtIndex " + showIntImpl(v._1) + " " + showJsonDecodeError.show(v._2) + ")";
43859
+ }
43860
+ if (v.tag === "AtKey") {
43861
+ return "(AtKey " + showStringImpl(v._1) + " " + showJsonDecodeError.show(v._2) + ")";
43862
+ }
43863
+ if (v.tag === "Named") {
43864
+ return "(Named " + showStringImpl(v._1) + " " + showJsonDecodeError.show(v._2) + ")";
43865
+ }
43866
+ if (v.tag === "MissingValue") {
43867
+ return "MissingValue";
43868
+ }
43869
+ fail();
43870
+ }
43871
+ };
43872
+
43873
+ // output-es/Data.Argonaut.Decode.Parser/index.js
43874
+ var parseJson = (x2) => {
43875
+ const $0 = _jsonParser(Left, Right, x2);
43876
+ if ($0.tag === "Left") {
43877
+ return $Either("Left", $JsonDecodeError("TypeMismatch", "JSON"));
43878
+ }
43879
+ if ($0.tag === "Right") {
43880
+ return $Either("Right", $0._1);
43881
+ }
43882
+ fail();
43883
+ };
43884
+
43820
43885
  // output-es/Primitive.Defs/index.js
43821
43886
  var foldM4 = (dictMonad) => (f) => (b0) => foldableDict.foldl((b) => (a) => dictMonad.Bind1().bind(b)((a$1) => f(a$1)(a)))(dictMonad.Applicative0().pure(b0));
43822
43887
  var disjointUnion3 = /* @__PURE__ */ disjointUnion(mapDictString);
43888
+ var fromFoldable21 = /* @__PURE__ */ foldlArray((m) => (a) => insert3(ordVertex)(a)()(m))(Leaf2);
43889
+ var pretty = /* @__PURE__ */ (() => prettyVal(highlightableVertex).pretty)();
43890
+ var toUnfoldable16 = /* @__PURE__ */ (() => {
43891
+ const $0 = toArrayWithKey(Tuple);
43892
+ return (x2) => toUnfoldable(unfoldableArray)($0(x2));
43893
+ })();
43894
+ var fromFoldable112 = /* @__PURE__ */ fromFoldable(foldableArray);
43823
43895
  var unary2 = /* @__PURE__ */ unary(boundedJoinSemilatticeUni);
43824
43896
  var binary2 = /* @__PURE__ */ binary(boundedJoinSemilatticeUni);
43825
43897
  var binaryZero2 = /* @__PURE__ */ binaryZero(boundedJoinSemilatticeUni);
@@ -43844,7 +43916,7 @@ var matrixUpdate = /* @__PURE__ */ $Tuple(
43844
43916
  const $$new = dictMonadWithGraphAlloc.new(typeNameVal);
43845
43917
  return (dictMonadError) => {
43846
43918
  const $$throw2 = $$throw(dictMonadError.MonadThrow0());
43847
- return (dictMonadReader) => (dictLoadFile) => (v) => {
43919
+ return (dictMonadAff) => (dictMonadReader) => (dictLoadFile) => (v) => {
43848
43920
  if (v.tag === "Cons" && v._1._3.tag === "Matrix" && v._2.tag === "Cons" && v._2._1._3.tag === "Constr" && v._2._1._3._2.tag === "Cons" && v._2._1._3._2._1._3.tag === "Int" && v._2._1._3._2._2.tag === "Cons" && v._2._1._3._2._2._1._3.tag === "Int" && v._2._1._3._2._2._2.tag === "Nil" && v._2._2.tag === "Cons" && v._2._2._2.tag === "Nil" && v._2._1._3._1 === "Pair") {
43849
43921
  const $0 = v._2._2._1;
43850
43922
  return $$new((a) => Val(a)(None))($$$Map("Two", Leaf2, v._1._1, void 0, Leaf2))($BaseVal(
@@ -43863,12 +43935,12 @@ var matrixLookup = /* @__PURE__ */ $Tuple(
43863
43935
  /* @__PURE__ */ $ForeignOp$p({
43864
43936
  arity: 2,
43865
43937
  op: (dictMonadWithGraphAlloc) => (dictMonadError) => {
43866
- const MonadThrow0 = dictMonadError.MonadThrow0();
43867
- return (dictMonadReader) => (dictLoadFile) => (v) => {
43938
+ const $$throw2 = $$throw(dictMonadError.MonadThrow0());
43939
+ return (dictMonadAff) => (dictMonadReader) => (dictLoadFile) => (v) => {
43868
43940
  if (v.tag === "Cons" && v._1._3.tag === "Matrix" && v._2.tag === "Cons" && v._2._1._3.tag === "Constr" && v._2._1._3._2.tag === "Cons" && v._2._1._3._2._1._3.tag === "Int" && v._2._1._3._2._2.tag === "Cons" && v._2._1._3._2._2._1._3.tag === "Int" && v._2._1._3._2._2._2.tag === "Nil" && v._2._2.tag === "Nil" && v._2._1._3._1 === "Pair") {
43869
- return MonadThrow0.Monad0().Applicative0().pure(matrixGet(v._2._1._3._2._1._3._1)(v._2._1._3._2._2._1._3._1)(v._1._3._1));
43941
+ return dictMonadAff.MonadEffect0().Monad0().Applicative0().pure(matrixGet(v._2._1._3._2._1._3._1)(v._2._1._3._2._2._1._3._1)(v._1._3._1));
43870
43942
  }
43871
- return MonadThrow0.throwError(error("Matrix and pair of integers expected"));
43943
+ return $$throw2("Matrix and pair of integers expected");
43872
43944
  };
43873
43945
  }
43874
43946
  })
@@ -43896,12 +43968,12 @@ var error_ = /* @__PURE__ */ $Tuple(
43896
43968
  /* @__PURE__ */ $ForeignOp$p({
43897
43969
  arity: 1,
43898
43970
  op: (dictMonadWithGraphAlloc) => (dictMonadError) => {
43899
- const MonadThrow0 = dictMonadError.MonadThrow0();
43900
- return (dictMonadReader) => (dictLoadFile) => (v) => {
43971
+ const $$throw2 = $$throw(dictMonadError.MonadThrow0());
43972
+ return (dictMonadAff) => (dictMonadReader) => (dictLoadFile) => (v) => {
43901
43973
  if (v.tag === "Cons" && v._1._3.tag === "Str" && v._2.tag === "Nil") {
43902
- return MonadThrow0.Monad0().Applicative0().pure(throwException(error(v._1._3._1))());
43974
+ return dictMonadAff.MonadEffect0().Monad0().Applicative0().pure(throwException(error(v._1._3._1))());
43903
43975
  }
43904
- return MonadThrow0.throwError(error("String expected"));
43976
+ return $$throw2("String expected");
43905
43977
  };
43906
43978
  }
43907
43979
  })
@@ -43914,26 +43986,28 @@ var dims = /* @__PURE__ */ $Tuple(
43914
43986
  op: (dictMonadWithGraphAlloc) => {
43915
43987
  const $$new = dictMonadWithGraphAlloc.new(typeNameVal);
43916
43988
  return (dictMonadError) => {
43917
- const MonadThrow0 = dictMonadError.MonadThrow0();
43918
- const $0 = MonadThrow0.Monad0().Bind1();
43919
- return (dictMonadReader) => (dictLoadFile) => (v) => {
43920
- if (v.tag === "Cons" && v._1._3.tag === "Matrix" && v._2.tag === "Nil") {
43921
- const $1 = v._1._3._1._2._2._1;
43922
- const $2 = v._1._1;
43923
- const $3 = v._1._3._1._2._2._2;
43924
- return $0.bind($$new((a) => Val(a)(None))($$$Map("Two", Leaf2, v._1._3._1._2._1._2, void 0, Leaf2))($BaseVal(
43925
- "Int",
43926
- v._1._3._1._2._1._1
43927
- )))((v1) => $0.bind($$new((a) => Val(a)(None))($$$Map("Two", Leaf2, $3, void 0, Leaf2))($BaseVal(
43928
- "Int",
43929
- $1
43930
- )))((v2) => $$new((a) => Val(a)(None))($$$Map("Two", Leaf2, $2, void 0, Leaf2))($BaseVal(
43931
- "Constr",
43932
- "Pair",
43933
- $List("Cons", v1, $List("Cons", v2, Nil))
43934
- ))));
43935
- }
43936
- return MonadThrow0.throwError(error("Matrix expected"));
43989
+ const $$throw2 = $$throw(dictMonadError.MonadThrow0());
43990
+ return (dictMonadAff) => {
43991
+ const $0 = dictMonadAff.MonadEffect0().Monad0().Bind1();
43992
+ return (dictMonadReader) => (dictLoadFile) => (v) => {
43993
+ if (v.tag === "Cons" && v._1._3.tag === "Matrix" && v._2.tag === "Nil") {
43994
+ const $1 = v._1._3._1._2._2._1;
43995
+ const $2 = v._1._1;
43996
+ const $3 = v._1._3._1._2._2._2;
43997
+ return $0.bind($$new((a) => Val(a)(None))($$$Map("Two", Leaf2, v._1._3._1._2._1._2, void 0, Leaf2))($BaseVal(
43998
+ "Int",
43999
+ v._1._3._1._2._1._1
44000
+ )))((v1) => $0.bind($$new((a) => Val(a)(None))($$$Map("Two", Leaf2, $3, void 0, Leaf2))($BaseVal(
44001
+ "Int",
44002
+ $1
44003
+ )))((v2) => $$new((a) => Val(a)(None))($$$Map("Two", Leaf2, $2, void 0, Leaf2))($BaseVal(
44004
+ "Constr",
44005
+ "Pair",
44006
+ $List("Cons", v1, $List("Cons", v2, Nil))
44007
+ ))));
44008
+ }
44009
+ return $$throw2("Matrix expected");
44010
+ };
43937
44011
  };
43938
44012
  };
43939
44013
  }
@@ -43947,27 +44021,29 @@ var dict_map = /* @__PURE__ */ $Tuple(
43947
44021
  const apply3 = apply2(dictMonadWithGraphAlloc);
43948
44022
  const $$new = dictMonadWithGraphAlloc.new(typeNameVal);
43949
44023
  return (dictMonadError) => {
43950
- const MonadThrow0 = dictMonadError.MonadThrow0();
43951
- const Monad0 = MonadThrow0.Monad0();
43952
- const Bind1 = Monad0.Bind1();
43953
- const traverse1 = traversableDict.traverse(Monad0.Applicative0());
43954
- return (dictMonadReader) => {
43955
- const apply1 = apply3(dictMonadReader);
43956
- return (dictLoadFile) => {
43957
- const apply22 = apply1(dictLoadFile);
43958
- return (v) => {
43959
- if (v.tag === "Cons" && v._2.tag === "Cons" && v._2._1._3.tag === "Dictionary" && v._2._2.tag === "Nil") {
43960
- const $0 = v._1;
43961
- const $1 = v._2._1._1;
43962
- return Bind1.bind(traverse1((v2) => {
43963
- const $2 = v2._1;
43964
- return Bind1.Apply0().Functor0().map((v3) => $Tuple($2, v3))(apply22($0)(v2._2));
43965
- })(v._2._1._3._1))((d$p) => $$new((a) => Val(a)(None))($$$Map("Two", Leaf2, $1, void 0, Leaf2))($BaseVal(
43966
- "Dictionary",
43967
- d$p
43968
- )));
43969
- }
43970
- return MonadThrow0.throwError(error("Function and dictionary expected"));
44024
+ const $$throw2 = $$throw(dictMonadError.MonadThrow0());
44025
+ return (dictMonadAff) => {
44026
+ const Monad0 = dictMonadAff.MonadEffect0().Monad0();
44027
+ const Bind1 = Monad0.Bind1();
44028
+ const traverse2 = traversableDict.traverse(Monad0.Applicative0());
44029
+ return (dictMonadReader) => {
44030
+ const apply1 = apply3(dictMonadReader)(dictMonadAff);
44031
+ return (dictLoadFile) => {
44032
+ const apply22 = apply1(dictLoadFile);
44033
+ return (v) => {
44034
+ if (v.tag === "Cons" && v._2.tag === "Cons" && v._2._1._3.tag === "Dictionary" && v._2._2.tag === "Nil") {
44035
+ const $0 = v._1;
44036
+ const $1 = v._2._1._1;
44037
+ return Bind1.bind(traverse2((v2) => {
44038
+ const $2 = v2._1;
44039
+ return Bind1.Apply0().Functor0().map((v3) => $Tuple($2, v3))(apply22($0)(v2._2));
44040
+ })(v._2._1._3._1))((d$p) => $$new((a) => Val(a)(None))($$$Map("Two", Leaf2, $1, void 0, Leaf2))($BaseVal(
44041
+ "Dictionary",
44042
+ d$p
44043
+ )));
44044
+ }
44045
+ return $$throw2("Function and dictionary expected");
44046
+ };
43971
44047
  };
43972
44048
  };
43973
44049
  };
@@ -43983,40 +44059,42 @@ var dict_intersectionWith = /* @__PURE__ */ $Tuple(
43983
44059
  const apply3 = apply2(dictMonadWithGraphAlloc);
43984
44060
  const $$new = dictMonadWithGraphAlloc.new(typeNameVal);
43985
44061
  return (dictMonadError) => {
43986
- const MonadThrow0 = dictMonadError.MonadThrow0();
43987
- const Monad0 = MonadThrow0.Monad0();
43988
- const Bind1 = Monad0.Bind1();
43989
- const Applicative0 = Monad0.Applicative0();
43990
- const $0 = Bind1.Apply0().Functor0();
43991
- return (dictMonadReader) => {
43992
- const apply1 = apply3(dictMonadReader);
43993
- return (dictLoadFile) => {
43994
- const apply22 = apply1(dictLoadFile);
43995
- return (v) => {
43996
- if (v.tag === "Cons" && v._2.tag === "Cons" && v._2._1._3.tag === "Dictionary" && v._2._2.tag === "Cons" && v._2._2._1._3.tag === "Dictionary" && v._2._2._2.tag === "Nil") {
43997
- const $1 = v._1;
43998
- const $2 = v._2._1._1;
43999
- const $3 = v._2._2._1._1;
44000
- return Bind1.bind($0.map(Dictionary3)($0.map(DictRep)(traversableDict.traverse(Applicative0)(identity19)(intersectionWith_Object((v2) => (v3) => {
44001
- const $4 = v3._2;
44002
- const $5 = v2._1;
44003
- const $6 = v3._1;
44004
- return Bind1.bind(Bind1.bind(apply22($1)(v2._2))((a) => apply22(a)($4)))((v4) => Bind1.bind($$new((a) => Val(a)(None))(insert3(ordVertex)($6)()($$$Map(
44062
+ const $$throw2 = $$throw(dictMonadError.MonadThrow0());
44063
+ return (dictMonadAff) => {
44064
+ const Monad0 = dictMonadAff.MonadEffect0().Monad0();
44065
+ const Bind1 = Monad0.Bind1();
44066
+ const Applicative0 = Monad0.Applicative0();
44067
+ const $0 = Bind1.Apply0().Functor0();
44068
+ return (dictMonadReader) => {
44069
+ const apply1 = apply3(dictMonadReader)(dictMonadAff);
44070
+ return (dictLoadFile) => {
44071
+ const apply22 = apply1(dictLoadFile);
44072
+ return (v) => {
44073
+ if (v.tag === "Cons" && v._2.tag === "Cons" && v._2._1._3.tag === "Dictionary" && v._2._2.tag === "Cons" && v._2._2._1._3.tag === "Dictionary" && v._2._2._2.tag === "Nil") {
44074
+ const $1 = v._1;
44075
+ const $2 = v._2._1._1;
44076
+ const $3 = v._2._2._1._1;
44077
+ return Bind1.bind($0.map(Dictionary3)($0.map(DictRep)(traversableDict.traverse(Applicative0)(identity19)(intersectionWith_Object((v2) => (v3) => {
44078
+ const $4 = v3._2;
44079
+ const $5 = v2._1;
44080
+ const $6 = v3._1;
44081
+ return Bind1.bind(Bind1.bind(apply22($1)(v2._2))((a) => apply22(a)($4)))((v4) => Bind1.bind($$new((a) => Val(a)(None))(insert3(ordVertex)($6)()($$$Map(
44082
+ "Two",
44083
+ Leaf2,
44084
+ $5,
44085
+ void 0,
44086
+ Leaf2
44087
+ )))(v4._3))((v5) => Applicative0.pure($Tuple(v5._1, v4))));
44088
+ })(v._2._1._3._1)(v._2._2._1._3._1)))))((v$p) => $$new((a) => Val(a)(None))(insert3(ordVertex)($3)()($$$Map(
44005
44089
  "Two",
44006
44090
  Leaf2,
44007
- $5,
44091
+ $2,
44008
44092
  void 0,
44009
44093
  Leaf2
44010
- )))(v4._3))((v5) => Applicative0.pure($Tuple(v5._1, v4))));
44011
- })(v._2._1._3._1)(v._2._2._1._3._1)))))((v$p) => $$new((a) => Val(a)(None))(insert3(ordVertex)($3)()($$$Map(
44012
- "Two",
44013
- Leaf2,
44014
- $2,
44015
- void 0,
44016
- Leaf2
44017
- )))(v$p));
44018
- }
44019
- return MonadThrow0.throwError(error("Function and two dictionaries expected"));
44094
+ )))(v$p));
44095
+ }
44096
+ return $$throw2("Function and two dictionaries expected");
44097
+ };
44020
44098
  };
44021
44099
  };
44022
44100
  };
@@ -44030,7 +44108,7 @@ var dict_get = /* @__PURE__ */ $Tuple(
44030
44108
  arity: 2,
44031
44109
  op: (dictMonadWithGraphAlloc) => (dictMonadError) => {
44032
44110
  const MonadThrow0 = dictMonadError.MonadThrow0();
44033
- return (dictMonadReader) => (dictLoadFile) => (v) => {
44111
+ return (dictMonadAff) => (dictMonadReader) => (dictLoadFile) => (v) => {
44034
44112
  if (v.tag === "Cons" && v._1._3.tag === "Str" && v._2.tag === "Cons" && v._2._1._3.tag === "Dictionary" && v._2._2.tag === "Nil") {
44035
44113
  return orElse(MonadThrow0)('Key "' + v._1._3._1 + '" not found')((() => {
44036
44114
  const $0 = _lookup(Nothing, Just, v._1._3._1, v._2._1._3._1);
@@ -44052,21 +44130,23 @@ var dict_foldl = /* @__PURE__ */ $Tuple(
44052
44130
  op: (dictMonadWithGraphAlloc) => {
44053
44131
  const apply3 = apply2(dictMonadWithGraphAlloc);
44054
44132
  return (dictMonadError) => {
44055
- const MonadThrow0 = dictMonadError.MonadThrow0();
44056
- const Monad0 = MonadThrow0.Monad0();
44057
- return (dictMonadReader) => {
44058
- const apply1 = apply3(dictMonadReader);
44059
- return (dictLoadFile) => {
44060
- const apply22 = apply1(dictLoadFile);
44061
- return (v) => {
44062
- if (v.tag === "Cons" && v._2.tag === "Cons" && v._2._2.tag === "Cons" && v._2._2._1._3.tag === "Dictionary" && v._2._2._2.tag === "Nil") {
44063
- const $0 = v._1;
44064
- return foldM4(Monad0)((u1) => (v2) => {
44065
- const $1 = v2._2;
44066
- return Monad0.Bind1().bind(apply22($0)(u1))((a) => apply22(a)($1));
44067
- })(v._2._1)(v._2._2._1._3._1);
44068
- }
44069
- return MonadThrow0.throwError(error("Function, value and dictionary expected"));
44133
+ const $$throw2 = $$throw(dictMonadError.MonadThrow0());
44134
+ return (dictMonadAff) => {
44135
+ const Monad0 = dictMonadAff.MonadEffect0().Monad0();
44136
+ return (dictMonadReader) => {
44137
+ const apply1 = apply3(dictMonadReader)(dictMonadAff);
44138
+ return (dictLoadFile) => {
44139
+ const apply22 = apply1(dictLoadFile);
44140
+ return (v) => {
44141
+ if (v.tag === "Cons" && v._2.tag === "Cons" && v._2._2.tag === "Cons" && v._2._2._1._3.tag === "Dictionary" && v._2._2._2.tag === "Nil") {
44142
+ const $0 = v._1;
44143
+ return foldM4(Monad0)((u1) => (v2) => {
44144
+ const $1 = v2._2;
44145
+ return Monad0.Bind1().bind(apply22($0)(u1))((a) => apply22(a)($1));
44146
+ })(v._2._1)(v._2._2._1._3._1);
44147
+ }
44148
+ return $$throw2("Function, value and dictionary expected");
44149
+ };
44070
44150
  };
44071
44151
  };
44072
44152
  };
@@ -44082,7 +44162,7 @@ var dict_disjointUnion = /* @__PURE__ */ $Tuple(
44082
44162
  const $$new = dictMonadWithGraphAlloc.new(typeNameVal);
44083
44163
  return (dictMonadError) => {
44084
44164
  const $$throw2 = $$throw(dictMonadError.MonadThrow0());
44085
- return (dictMonadReader) => (dictLoadFile) => (v) => {
44165
+ return (dictMonadAff) => (dictMonadReader) => (dictLoadFile) => (v) => {
44086
44166
  if (v.tag === "Cons" && v._1._3.tag === "Dictionary" && v._2.tag === "Cons" && v._2._1._3.tag === "Dictionary" && v._2._2.tag === "Nil") {
44087
44167
  return $$new((a) => Val(a)(None))(insert3(ordVertex)(v._2._1._1)()($$$Map(
44088
44168
  "Two",
@@ -44106,7 +44186,7 @@ var dict_difference = /* @__PURE__ */ $Tuple(
44106
44186
  const $$new = dictMonadWithGraphAlloc.new(typeNameVal);
44107
44187
  return (dictMonadError) => {
44108
44188
  const $$throw2 = $$throw(dictMonadError.MonadThrow0());
44109
- return (dictMonadReader) => (dictLoadFile) => (v) => {
44189
+ return (dictMonadAff) => (dictMonadReader) => (dictLoadFile) => (v) => {
44110
44190
  if (v.tag === "Cons" && v._1._3.tag === "Dictionary" && v._2.tag === "Cons" && v._2._1._3.tag === "Dictionary" && v._2._2.tag === "Nil") {
44111
44191
  return $$new((a) => Val(a)(None))(insert3(ordVertex)(v._2._1._1)()($$$Map(
44112
44192
  "Two",
@@ -44127,18 +44207,103 @@ var debugLog = /* @__PURE__ */ $Tuple(
44127
44207
  /* @__PURE__ */ $ForeignOp$p({
44128
44208
  arity: 1,
44129
44209
  op: (dictMonadWithGraphAlloc) => (dictMonadError) => {
44130
- const MonadThrow0 = dictMonadError.MonadThrow0();
44131
- return (dictMonadReader) => (dictLoadFile) => (v) => {
44210
+ const $$throw2 = $$throw(dictMonadError.MonadThrow0());
44211
+ return (dictMonadAff) => (dictMonadReader) => (dictLoadFile) => (v) => {
44132
44212
  if (v.tag === "Cons" && v._2.tag === "Nil") {
44133
44213
  const $0 = v._1;
44134
- return MonadThrow0.Monad0().Applicative0().pure(_trace($0, (v$1) => $0));
44214
+ return dictMonadAff.MonadEffect0().Monad0().Applicative0().pure(_trace($0, (v$1) => $0));
44135
44215
  }
44136
- return MonadThrow0.throwError(error("Single value expected"));
44216
+ return $$throw2("Single value expected");
44137
44217
  };
44138
44218
  }
44139
44219
  })
44140
44220
  );
44141
- var primitives = /* @__PURE__ */ fromFoldable(foldableArray)([
44221
+ var arrVtoVal$p = (dictMonadWithGraphAlloc) => {
44222
+ const $$new = dictMonadWithGraphAlloc.new(typeNameVal);
44223
+ return (v) => {
44224
+ if (v.tag === "Nil") {
44225
+ return $$new((a) => Val(a)(None))(Leaf2)($BaseVal("Constr", "Nil", Nil));
44226
+ }
44227
+ if (v.tag === "Cons") {
44228
+ const $0 = v._1;
44229
+ return dictMonadWithGraphAlloc.MonadWithGraph2().Monad0().Bind1().bind(arrVtoVal$p(dictMonadWithGraphAlloc)(v._2))((tailV) => $$new((a) => Val(a)(None))(fromFoldable21([
44230
+ $0._1,
44231
+ tailV._1
44232
+ ]))($BaseVal("Constr", ":", $List("Cons", $0, $List("Cons", tailV, Nil)))));
44233
+ }
44234
+ fail();
44235
+ };
44236
+ };
44237
+ var fromJsonVal$p = (dictMonadWithGraphAlloc) => {
44238
+ const $$throw2 = $$throw(dictMonadWithGraphAlloc.MonadError1().MonadThrow0());
44239
+ const Monad0 = dictMonadWithGraphAlloc.MonadWithGraph2().Monad0();
44240
+ const $0 = Monad0.Bind1();
44241
+ const $$new = dictMonadWithGraphAlloc.new(typeNameVal);
44242
+ const Applicative0 = Monad0.Applicative0();
44243
+ const traverse2 = traversableArray.traverse(Applicative0);
44244
+ const arrVtoVal$p1 = arrVtoVal$p(dictMonadWithGraphAlloc);
44245
+ return caseJson((v) => $$throw2("Error, Null JSON value cannot be converted to Val Vertex"))((b) => $0.bind($$new((a) => Val(a)(None))(Leaf2)($BaseVal(
44246
+ "Constr",
44247
+ b ? "True" : "False",
44248
+ Nil
44249
+ )))((v) => Applicative0.pure(spyWhen(true)("Processing boolean")((x2) => intercalate4("\n")(pretty(x2).lines))(v))))((n) => $0.bind((() => {
44250
+ const v = fromNumber(n);
44251
+ if (v.tag === "Just") {
44252
+ return $$new((a) => Val(a)(None))(Leaf2)($BaseVal("Int", v._1));
44253
+ }
44254
+ if (v.tag === "Nothing") {
44255
+ return $$new((a) => Val(a)(None))(Leaf2)($BaseVal("Float", n));
44256
+ }
44257
+ fail();
44258
+ })())((v) => Applicative0.pure(spyWhen(true)("Processing number")((x2) => intercalate4("\n")(pretty(x2).lines))(v))))((s) => $0.bind($$new((a) => Val(a)(None))(Leaf2)($BaseVal(
44259
+ "Str",
44260
+ s
44261
+ )))((v) => Applicative0.pure(spyWhen(true)("Processing string")((x2) => intercalate4("\n")(pretty(x2).lines))(v))))((arr) => $0.bind(traverse2(fromJsonVal$p(dictMonadWithGraphAlloc))(arr))((vs) => $0.bind(arrVtoVal$p1(toUnfoldable(unfoldableList)(vs)))((v) => Applicative0.pure(spyWhen(true)("Processing array")((x2) => intercalate4("\n")(pretty(x2).lines))(v)))))((obj) => $0.bind(traverse2((v) => {
44262
+ const $1 = v._1;
44263
+ return $0.bind(fromJsonVal$p(dictMonadWithGraphAlloc)(v._2))((vv) => Applicative0.pure($Tuple($1, $Tuple(vv._1, vv))));
44264
+ })(toUnfoldable16(obj)))((entries) => $0.bind($$new((a) => Val(a)(None))(fromFoldable21(arrayMap((v) => v._2._1)(entries)))($BaseVal(
44265
+ "Dictionary",
44266
+ fromFoldable112(entries)
44267
+ )))((v) => Applicative0.pure(spyWhen(true)("Processing object")((x2) => intercalate4("\n")(pretty(x2).lines))(v)))));
44268
+ };
44269
+ var loadJson = /* @__PURE__ */ $Tuple(
44270
+ "loadJson",
44271
+ /* @__PURE__ */ $ForeignOp$p({
44272
+ arity: 1,
44273
+ op: (dictMonadWithGraphAlloc) => {
44274
+ const fromJsonVal$p1 = fromJsonVal$p(dictMonadWithGraphAlloc);
44275
+ return (dictMonadError) => {
44276
+ const $$throw2 = $$throw(dictMonadError.MonadThrow0());
44277
+ return (dictMonadAff) => {
44278
+ const $0 = dictMonadAff.MonadEffect0().Monad0().Bind1();
44279
+ return (dictMonadReader) => {
44280
+ const ask = dictMonadReader.MonadAsk0().ask;
44281
+ return (dictLoadFile) => {
44282
+ const loadFile = dictLoadFile.loadFile(dictMonadError)(dictMonadAff);
44283
+ return (v) => {
44284
+ if (v.tag === "Cons" && v._1._3.tag === "Str" && v._2.tag === "Nil") {
44285
+ const $1 = v._1._3._1;
44286
+ return $0.bind(ask)((v1) => $0.bind(loadFile(v1.fluidSrcPaths)($1))((str) => {
44287
+ const v2 = parseJson(str);
44288
+ if (v2.tag === "Left") {
44289
+ return $$throw2("Failed to parse JSON: " + showJsonDecodeError.show(v2._1));
44290
+ }
44291
+ if (v2.tag === "Right") {
44292
+ return fromJsonVal$p1(v2._1);
44293
+ }
44294
+ fail();
44295
+ }));
44296
+ }
44297
+ return $$throw2("String expected");
44298
+ };
44299
+ };
44300
+ };
44301
+ };
44302
+ };
44303
+ }
44304
+ })
44305
+ );
44306
+ var primitives = /* @__PURE__ */ fromFoldable112([
44142
44307
  /* @__PURE__ */ $Tuple(
44143
44308
  ":",
44144
44309
  /* @__PURE__ */ $Val(void 0, None, /* @__PURE__ */ $BaseVal("Fun", /* @__PURE__ */ $Fun("PartialConstr", ":", Nil)))
@@ -44147,6 +44312,7 @@ var primitives = /* @__PURE__ */ fromFoldable(foldableArray)([
44147
44312
  /* @__PURE__ */ extern1(debugLog),
44148
44313
  /* @__PURE__ */ extern1(dims),
44149
44314
  /* @__PURE__ */ extern1(error_),
44315
+ /* @__PURE__ */ extern1(loadJson),
44150
44316
  /* @__PURE__ */ unary2("floor")({ i: number5, o: $$int, fwd: floor2 }),
44151
44317
  /* @__PURE__ */ unary2("log")({ i: intOrNumber, o: number5, fwd: log3 }),
44152
44318
  /* @__PURE__ */ unary2("numToStr")({ i: intOrNumber, o: string2, fwd: numToStr }),
@@ -44359,12 +44525,14 @@ var initialConfig = (dictMonadAff) => {
44359
44525
  Applicative0: () => applicativeStateT(Monad0),
44360
44526
  Bind1: () => bindStateT(Monad0)
44361
44527
  })(graphGraphImpl);
44362
- const $2 = monadAffState(dictMonadAff).MonadEffect0().Monad0();
44528
+ const monadAffState2 = monadAffState(dictMonadAff);
44529
+ const monadAffState1 = monadAffState(monadAffState2);
44530
+ const $2 = monadAffState2.MonadEffect0().Monad0();
44363
44531
  const $3 = dictMonadAff.MonadEffect0().Monad0();
44364
44532
  return (dictMonadError) => {
44365
44533
  const eval_progCxt2 = eval_progCxt(monadWithGraphAllocWithGr(dictMonadError));
44366
44534
  return (dictMonadReader) => {
44367
- const eval_progCxt1 = eval_progCxt2(monadReaderStateT(monadReaderStateT(dictMonadReader)));
44535
+ const eval_progCxt1 = eval_progCxt2(monadReaderStateT(monadReaderStateT(dictMonadReader)))(monadAffState1);
44368
44536
  return (dictLoadFile) => {
44369
44537
  const eval_progCxt22 = eval_progCxt1((() => {
44370
44538
  const loadFile1 = dictLoadFile.loadFile(dictMonadError)(dictMonadAff);
@@ -44460,12 +44628,12 @@ var loadProgCxt = (dictMonadAff) => {
44460
44628
  };
44461
44629
 
44462
44630
  // output-es/App.Fig/index.js
44463
- var fromFoldable21 = /* @__PURE__ */ fromFoldable(foldableSet);
44631
+ var fromFoldable25 = /* @__PURE__ */ fromFoldable(foldableSet);
44464
44632
  var ordVal2 = /* @__PURE__ */ ordVal(ordVertex);
44465
44633
  var botOf2 = /* @__PURE__ */ (() => ({ botOf: functorSelStates.map((v) => false) }))();
44466
44634
  var select\u{1D539}s = /* @__PURE__ */ (() => select\u03B1s\u{1D539}Vertex(applyVal)(foldableVal)["select\u{1D539}s"])();
44467
- var fromFoldable112 = /* @__PURE__ */ fromFoldable(foldableDict);
44468
- var fromFoldable25 = /* @__PURE__ */ foldlArray((m) => (a) => insert3(ordString)(a)()(m))(Leaf2);
44635
+ var fromFoldable113 = /* @__PURE__ */ fromFoldable(foldableDict);
44636
+ var fromFoldable26 = /* @__PURE__ */ foldlArray((m) => (a) => insert3(ordString)(a)()(m))(Leaf2);
44469
44637
  var graphGC2 = /* @__PURE__ */ graphGC(graphGraphImpl);
44470
44638
  var graphGC1 = /* @__PURE__ */ graphGC2(applyVal)(applyEnvExpr)(foldableVal)(foldableEnvExpr);
44471
44639
  var graphGC22 = /* @__PURE__ */ graphGC2(applyEnvExpr)(applyVal)(foldableEnvExpr)(foldableVal);
@@ -44489,7 +44657,7 @@ var \u03B9from\u03B1s = (dictGraph) => (g) => {
44489
44657
  }
44490
44658
  return Nothing;
44491
44659
  });
44492
- return (x2) => fromFoldable21($0(x2));
44660
+ return (x2) => fromFoldable25($0(x2));
44493
44661
  };
44494
44662
  var unprojExpr = (dictBoundedMeetSemilattice) => (v) => {
44495
44663
  const $0 = v._2;
@@ -44785,7 +44953,7 @@ var selectInput = (x2) => (\u03B4v) => (v) => {
44785
44953
  inerts: v.inerts
44786
44954
  };
44787
44955
  };
44788
- var rebuild\u03B9 = (inerts) => (\u03B1s) => (\u03B9) => fromFoldable112(intersectionWith_Object(apply)(_fmapObject(
44956
+ var rebuild\u03B9 = (inerts) => (\u03B1s) => (\u03B9) => fromFoldable113(intersectionWith_Object(apply)(_fmapObject(
44789
44957
  _fmapObject(\u03B9, (v) => select\u{1D539}s(v)(inerts)),
44790
44958
  (inert) => (v) => $Tuple(v._1, applyVal.apply(applyVal.apply(functorVal.map(selStates)(inert))(v._2.persistent))(v._2.transient))
44791
44959
  ))(_fmapObject(\u03B9, (v) => $Tuple(v._1, { persistent: select\u{1D539}s(v)(\u03B1s.persistent), transient: select\u{1D539}s(v)(\u03B1s.transient) }))));
@@ -44832,7 +45000,7 @@ var loadFig = (dictMonadAff) => {
44832
45000
  "in\u03B1": v2["out\u03B1"],
44833
45001
  "out\u03B1": v2["in\u03B1"]
44834
45002
  };
44835
- const inputs$p = fromFoldable25($2);
45003
+ const inputs$p = fromFoldable26($2);
44836
45004
  const v3 = functorEnvExpr.map((v$1) => {
44837
45005
  })(v2["in\u03B1"]);
44838
45006
  const $8 = unrestrictGC(boundedMeetSemilatticeBoo)(v3._1)(inputs$p);
@@ -45076,36 +45244,6 @@ var drawFile = (v) => {
45076
45244
  };
45077
45245
  };
45078
45246
 
45079
- // output-es/Data.Argonaut.Decode.Error/index.js
45080
- var $JsonDecodeError = (tag, _1, _2) => ({ tag, _1, _2 });
45081
- var AtIndex = (value0) => (value1) => $JsonDecodeError("AtIndex", value0, value1);
45082
- var AtKey = (value0) => (value1) => $JsonDecodeError("AtKey", value0, value1);
45083
- var Named = (value0) => (value1) => $JsonDecodeError("Named", value0, value1);
45084
- var MissingValue = /* @__PURE__ */ $JsonDecodeError("MissingValue");
45085
- var showJsonDecodeError = {
45086
- show: (v) => {
45087
- if (v.tag === "TypeMismatch") {
45088
- return "(TypeMismatch " + showStringImpl(v._1) + ")";
45089
- }
45090
- if (v.tag === "UnexpectedValue") {
45091
- return "(UnexpectedValue " + stringify(v._1) + ")";
45092
- }
45093
- if (v.tag === "AtIndex") {
45094
- return "(AtIndex " + showIntImpl(v._1) + " " + showJsonDecodeError.show(v._2) + ")";
45095
- }
45096
- if (v.tag === "AtKey") {
45097
- return "(AtKey " + showStringImpl(v._1) + " " + showJsonDecodeError.show(v._2) + ")";
45098
- }
45099
- if (v.tag === "Named") {
45100
- return "(Named " + showStringImpl(v._1) + " " + showJsonDecodeError.show(v._2) + ")";
45101
- }
45102
- if (v.tag === "MissingValue") {
45103
- return "MissingValue";
45104
- }
45105
- fail();
45106
- }
45107
- };
45108
-
45109
45247
  // output-es/Data.Argonaut.Decode.Decoders/index.js
45110
45248
  var traverseWithIndex = /* @__PURE__ */ (() => traversableWithIndexArray.traverseWithIndex(applicativeEither))();
45111
45249
  var decodeJArray = (x2) => {