refactor code: move everything from type_registry to "most appropriate" modules
This commit is contained in:
parent
4ca60784aa
commit
5283be608b
22 changed files with 160 additions and 164 deletions
|
|
@ -1,4 +1,4 @@
|
|||
import { fnType } from "../type_registry.js";
|
||||
import { fnType } from "../metacircular.js";
|
||||
import {Function} from "../metacircular.js";
|
||||
|
||||
// import {Typed} from "../typed.js";
|
||||
|
|
|
|||
|
|
@ -1,7 +1,8 @@
|
|||
import { Double } from "../primitives/symbols.js";
|
||||
import { nominalType, NominalType } from "../structures/nominal_type.js";
|
||||
import { makeProductType } from "../structures/product.js";
|
||||
import { prodType, typedFnType } from "../type_registry.js";
|
||||
import { typedFnType } from "../metacircular.js";
|
||||
import { prodType } from "../structures/product.js";
|
||||
|
||||
const PointCartesian2D = nominalType(
|
||||
"PointCartesian2D")
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@ import {Function, getIn, getOut} from "../metacircular.js";
|
|||
import {Module} from "../structures/list_types/module.js";
|
||||
import { deepEqual } from "../util.js";
|
||||
import { Typed } from "../typed.js";
|
||||
import { fnType } from "../type_registry.js";
|
||||
import { fnType } from "../metacircular.js";
|
||||
|
||||
// import {Num, NumDict, getType, getMul} from "../typeclasses/num.js";
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue