def tip.of
import ezx@1.11.0.0/src/add/plan.bend as Planimport Base
import ezx@1.11.0.0/src/add/world.bend as A
197# a 40-hex ref is the commit, and asks the remote nothing
198def tip.of(rev: Bool, empty: Bool, +world: A.World) -> Tip:
199 match rev:
200 case True{}:
201 At{A.ref(world)}
202 case False{}:
203 tip.named(empty, world)