rename some things
This commit is contained in:
parent
e04cac4f7d
commit
8a4bd44f04
16 changed files with 92 additions and 60 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue