4 lines
102 B
JavaScript
4 lines
102 B
JavaScript
|
export function guard(F, P) {
|
||
|
return function (b) { return (b ? P.of(undefined) : F.zero()); };
|
||
|
}
|