@mark1russell7/vex-compiler 0.14.0 → 0.16.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.
package/build/index.js CHANGED
@@ -12,7 +12,7 @@ import { CELL_KIND, MAX_NESTING, addrExprs, app, axisTargets, children, compile,
12
12
  const MAX_CALLS = 1e4;
13
13
  /**
14
14
  * The list ops that give a list, or read a position or a key of a list (LIST.SORT, LIST.TAKE, LIST.NTH, LIST.BUILD,
15
- * LIST.GET, LIST.INDEXOF, LIST.FILL).
15
+ * LIST.GET, LIST.INDEXOF, LIST.FILL, LIST.DISTINCT, LIST.GROUP, LIST.JOIN).
16
16
  */
17
17
  const ORDER_OPS = /* @__PURE__ */ new Set([
18
18
  "sortBy",
@@ -24,7 +24,10 @@ const ORDER_OPS = /* @__PURE__ */ new Set([
24
24
  "without",
25
25
  "get",
26
26
  "indexOf",
27
- "fill"
27
+ "fill",
28
+ "distinct",
29
+ "group",
30
+ "join"
28
31
  ]);
29
32
  /**
30
33
  * This function gives the reason that tier 2 cannot take a program with lists as values. The reason is the axis `list`,
@@ -1347,6 +1350,9 @@ var Lowerer = class {
1347
1350
  case "without":
1348
1351
  case "get":
1349
1352
  case "indexOf":
1353
+ case "distinct":
1354
+ case "group":
1355
+ case "join":
1350
1356
  /* v8 ignore next -- @preserve */
1351
1357
  throw new Unsupported(`the list op "${op}"`);
1352
1358
  }