lotta progress
This commit is contained in:
parent
29d20b2273
commit
bc91d9bf39
27 changed files with 317 additions and 475 deletions
|
|
@ -1,15 +1,11 @@
|
|||
import { fnType } from "../structures/function.js";
|
||||
import { Type } from "../metacircular.js";
|
||||
import {Byte, Bool} from "./symbols.js";
|
||||
import { typedFnType } from "../structures/types.js";
|
||||
import { Type } from "../type.js";
|
||||
import {Byte, Bool} from "./types.js";
|
||||
|
||||
const eqByte = x => y => x === y;
|
||||
|
||||
const Byte_to_Bool = fnType({in: Byte, out: Bool});
|
||||
const Byte_to_Byte_to_Bool = fnType({in: Byte, out: Byte_to_Bool});
|
||||
|
||||
export const ModuleByte = {l:[
|
||||
{i: Byte , t: Type },
|
||||
{i: Byte_to_Bool , t: Function },
|
||||
{i: Byte_to_Byte_to_Bool , t: Function },
|
||||
{i: eqByte , t: Byte_to_Byte_to_Bool },
|
||||
|
||||
...typedFnType(eqByte, fnType => fnType(Byte)(fnType(Byte)(Bool))),
|
||||
]};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue