dope2/primitives/char.js

16 lines
320 B
JavaScript

import { typedFnType } from "../structures/types.js";
import { Type } from "../type.js";
import {Char, Bool} from "./types.js";
const eq = x => y => x === y;
export const ModuleChar = {l:[
{i: Char, t: Type},
...typedFnType(eq, fnType =>
fnType
(Char)
(fnType
(Char)
(Bool))),
]};