dope2/primitives/byte.js
2025-03-23 13:25:47 +01:00

11 lines
326 B
JavaScript

import { typedFnType } from "../structures/types.js";
import { Type } from "../type.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))),
]};