MCPcopy Index your code
hub / github.com/Effect-TS/effect / eitherPretty

Function eitherPretty

packages/effect/src/Schema.ts:7393–7400  ·  view source on GitHub ↗
(
  right: pretty_.Pretty<R>,
  left: pretty_.Pretty<L>
)

Source from the content-addressed store, hash-verified

7391 ).map(eitherDecode)
7392
7393const eitherPretty = <R, L>(
7394 right: pretty_.Pretty<R>,
7395 left: pretty_.Pretty<L>
7396): pretty_.Pretty<either_.Either<R, L>> =>
7397 either_.match({
7398 onLeft: (e) => `left(${left(e)})`,
7399 onRight: (a) => `right(${right(a)})`
7400 })
7401
7402const eitherParse = <RR, R, LR, L>(
7403 parseRight: ParseResult.DecodeUnknown<R, RR>,

Callers

nothing calls this directly

Calls 2

leftFunction · 0.50
rightFunction · 0.50

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…