basic functionality, no generics
This commit is contained in:
commit
a8260f2afb
17 changed files with 615 additions and 0 deletions
13
structures/list.js
Normal file
13
structures/list.js
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
import {Type, Function} from "../metacircular.js";
|
||||
import { makeListModule } from "./list_common.js";
|
||||
|
||||
const Type_to_Type = {in: Type, out: Type};
|
||||
const Type_to_Module = {in: Type, out: Module};
|
||||
|
||||
export const ModuleList = [
|
||||
{i: getListType , t: Type_to_Type},
|
||||
{i: Type_to_Type , t: Function},
|
||||
|
||||
{i: makeListModule, t: Type_to_Module},
|
||||
{i: Type_to_Module, t: Function},
|
||||
];
|
||||
Loading…
Add table
Add a link
Reference in a new issue