UNPKG

@virtualstate/examples

Version:
51 lines 1.05 kB
import { h } from "@virtualstate/fringe"; import { Not } from "./not.js"; import { And } from "./and.js"; import { Or } from "./or.js"; import { True, False, isTrue } from "./truth.js"; import { Truthful } from "./truthful.js"; import { Void } from "./void.js"; const a = (h(And, null, h(True, null), h(True, null))); const b = (h(Not, null, h(And, null, h(True, null), h(False, null)))); const c = (h(Not, null, h(And, null, h(False, null), h(True, null)))); const d = (h(Not, null, h(And, null, h(False, null), h(False, null)))); const e = (h(And, null, a, b, c, d)); const complete = h(Or, null, e); /** * @experimental */ export const Combinational = { Void, Truthful, And, Or, Not, isTrue, True, False, }; /** * @experimental */ export const _E0101_Combinational = (h(Void, null, h(Truthful, null, a, e, complete))); export const _E0101_URL = import.meta.url; //# sourceMappingURL=index.js.map