big part of the code base still needs to be 'ported' to the updated type constructors.
11 lines
338 B
JavaScript
11 lines
338 B
JavaScript
import { typedFnType } from "../structures/types.js";
|
|
import { Type } from "./types.js";
|
|
import {Byte, Bool} from "./types.js";
|
|
|
|
const eqByte = x => y => x === y;
|
|
|
|
export const ModuleByte = {l:[
|
|
{i: Byte , t: Type },
|
|
|
|
...typedFnType(eqByte, fnType => fnType(() => Byte)(fnType(Byte)(() => Bool))),
|
|
]};
|