init component

This commit is contained in:
Robin COuret
2026-02-16 17:28:37 +01:00
parent 460c7a25e0
commit e0e50af706
4557 changed files with 666911 additions and 8 deletions

16
node_modules/fp-ts/es6/Choice.js generated vendored Normal file
View File

@@ -0,0 +1,16 @@
import { identity } from './function';
export function split(P, C) {
return function (pab, pcd) { return C.compose(P.right(pcd), P.left(pab)); };
}
export function fanIn(P, C) {
var splitPC = split(P, C);
return function (pac, pbc) {
return C.compose(P.promap(C.id(), function (cc) { return (cc._tag === 'Left' ? cc.left : cc.right); }, identity), splitPC(pac, pbc));
};
}
export function splitChoice(F) {
return split(F, F);
}
export function fanin(F) {
return fanIn(F, F);
}