16 lines
397 B
JavaScript
16 lines
397 B
JavaScript
import { Type } from "../primitives/types.js";
|
|
import { typedFnType } from "./types.js";
|
|
import { fnType } from "./types.js";
|
|
|
|
// export const pprintFn = fnT => ``
|
|
|
|
export const ModuleFunction = {l:[
|
|
// binary type constructor: Type -> Type -> Type
|
|
...typedFnType(fnType, fnType => fnType
|
|
/* in */ (Type)
|
|
/* out */ (fnType
|
|
/* in */ (Type)
|
|
/* out */ (Type)
|
|
)
|
|
),
|
|
]};
|