MCPcopy Create free account
hub / github.com/Effect-TS/effect / makeLeft

Function makeLeft

packages/effect/test/Graph.test.ts:275–282  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

273
274 describe("set operations", () => {
275 const makeLeft = () =>
276 Graph.directed<{ readonly id: string; readonly label: string }, string>((mutable) => {
277 const a = Graph.addNode(mutable, { id: "a", label: "A1" })
278 const b = Graph.addNode(mutable, { id: "b", label: "B1" })
279 const c = Graph.addNode(mutable, { id: "c", label: "C1" })
280 Graph.addEdge(mutable, a, b, "left-ab")
281 Graph.addEdge(mutable, b, c, "shared-bc")
282 })
283
284 const makeRight = () =>
285 Graph.directed<{ readonly id: string; readonly label: string }, string>((mutable) => {

Callers 1

Graph.test.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected