def named.check.at

ezx@1.11.0.0 · src/pkg/pkg.bend:907

import ezx@1.11.0.0/src/pkg/pkg.bend as Pkg
import Base

907# a file that imports a name the hub rules out stops the walk, naming it, as
908# bend refuses to load it; any other goes on to its foreign bodies
909def named.check.at(none: Bool, nv: String, rest: Unit -> Stop) -> Stop:
910  match none:
911    case True{}:
912      rest(Unit{})
913    case False{}:
914      Unnamed{nv}

Uses (4)

Used by (1)