def lib.found

ezx@1.11.0.0 · src/ws/hop.bend:69

import ezx@1.11.0.0/src/ws/hop.bend as Hop
import Base
import ezx@1.11.0.0/src/ws/root.bend as R

69# the library, once it is known whether the environment sets one
70def lib.found(set: Bool, +top: String, found: R.Found) -> Lib:
71  match set:
72    case True{}:
73      Keep{}
74    case False{}:
75      match found:
76        case R.Alone{}:
77          Keep{}
78        case R.Within{root, rel}:
79          lib.within(top, root, rel)
80        case R.Broken{_why}:
81          Keep{}

Uses (5)

Used by (1)