interactive prompt

This commit is contained in:
Joeri Exelmans 2025-03-23 17:46:39 +01:00
parent bc91d9bf39
commit 3596e01c28
9 changed files with 298 additions and 105 deletions

View file

@ -7,5 +7,10 @@ const eq = x => y => x === y;
export const ModuleChar = {l:[
{i: Char, t: Type},
...typedFnType(eq, fnType => fnType({in: Char, out: fnType({in: Char, out: Bool})})),
...typedFnType(eq, fnType =>
fnType
(Char)
(fnType
(Char)
(Bool))),
]};