def deep.of
import bend-lint-rules@0.2.0.0/performance/deep_call_in_fork.bend as DeepCallInForkimport Base
import bend-lint-api@0.2.0.0/linter/lint.bend as Lint
53# Whether a call of its definition to itself below `path` is outside a tail position.
54def deep.of(recursive: Bool, path: List<&2, Lint.Above>) -> List<&2, Bool>:
55 match recursive:
56 case True{}:
57 [Bool.not(is_tail(path, True{}))]
58 case False{}:
59 []