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
4
main.js
4
main.js
|
|
@ -13,7 +13,9 @@ import {Int, Bool, Double, Byte} from "./primitives/symbols.js";
|
|||
import { makeListModule } from "./structures/list_common.js";
|
||||
import { makeProductType } from "./structures/product.js";
|
||||
import { makeSumType } from "./structures/sum.js";
|
||||
import { lsType, prodType, sumType } from "./type_registry.js";
|
||||
import { sumType } from "./structures/sum.js";
|
||||
import { prodType } from "./structures/product.js";
|
||||
import { lsType } from "./structures/list_common.js";
|
||||
|
||||
class Context {
|
||||
constructor(mod) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue