tla 0.0.10-dev.b3325cb0f → 0.0.10-dev.c43a3006b

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/src/typed-tier.ts CHANGED
@@ -1655,7 +1655,14 @@ const isConstantExpression = (
1655
1655
 
1656
1656
  const FOLDED_OPERATORS = ["\\cup", "\\cap", "\\"];
1657
1657
 
1658
- const SIZED_SET_KINDS = new Set(["Set", "Interval", "Subset", "FunctionSet", "RecordSet", "ProductSet"]);
1658
+ const SIZED_SET_KINDS = new Set([
1659
+ "Set",
1660
+ "Interval",
1661
+ "Subset",
1662
+ "FunctionSet",
1663
+ "RecordSet",
1664
+ "ProductSet",
1665
+ ]);
1659
1666
 
1660
1667
  const hasOperatorCall = (program: Program, expression: Expression): boolean =>
1661
1668
  (expression.kind === "Apply" &&
@@ -1693,7 +1700,9 @@ const isCheapFold = (program: Program, expression: Expression, frame: Frame) =>
1693
1700
  return expression.elements.every((element) => isCheapConstant(program, element, frame));
1694
1701
  }
1695
1702
  if (expression.kind === "Apply") {
1696
- return expression.args.every((operand) => getCheapSize(program, operand, frame) <= MAXIMUM_TABLE);
1703
+ return expression.args.every(
1704
+ (operand) => getCheapSize(program, operand, frame) <= MAXIMUM_TABLE,
1705
+ );
1697
1706
  }
1698
1707
  if (
1699
1708
  expression.kind !== "FunctionConstruction" &&