MCPcopy
hub / github.com/Effect-TS/effect / wrapGo

Function wrapGo

packages/effect/src/Arbitrary.ts:767–772  ·  view source on GitHub ↗
(
  f: (description: Description, ctx: ArbitraryGenerationContext, lazyArb: LazyArbitrary<any>) => LazyArbitrary<any>,
  g: (description: Description, ctx: ArbitraryGenerationContext) => LazyArbitrary<any>
)

Source from the content-addressed store, hash-verified

765}
766
767function wrapGo(
768 f: (description: Description, ctx: ArbitraryGenerationContext, lazyArb: LazyArbitrary<any>) => LazyArbitrary<any>,
769 g: (description: Description, ctx: ArbitraryGenerationContext) => LazyArbitrary<any>
770): (description: Description, ctx: ArbitraryGenerationContext) => LazyArbitrary<any> {
771 return (description, ctx) => f(description, ctx, g(description, ctx))
772}
773
774const go = wrapGo(
775 (description, ctx, lazyArb) => {

Callers 1

Arbitrary.tsFile · 0.85

Calls 2

fFunction · 0.70
gFunction · 0.50

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…