rename some things

This commit is contained in:
Joeri Exelmans 2025-04-20 21:09:51 +02:00
parent e04cac4f7d
commit 8a4bd44f04
16 changed files with 92 additions and 60 deletions

View file

@ -1,17 +1,17 @@
import { prettyT, typedFnType } from "../structures/types.js"
import { Double } from "../primitives/types.js";
import { makeConstructor, makeConstructorType, makeGetters, makeGettersTypes, structType } from "../structures/struct.js";
import { constructorProduct } from "../structures/product.js";
import { newProduct } from "../structures/product.js";
import { makeTypeConstructor } from "../type_constructor.js";
const cartFields = [
constructorProduct("x")(Double),
constructorProduct("y")(Double),
newProduct("x")(Double),
newProduct("y")(Double),
];
const polarFields = [
constructorProduct("r")(Double),
constructorProduct("θ")(Double),
newProduct("r")(Double),
newProduct("θ")(Double),
];
// Nominal types: