def label.go
import ezx@1.11.0.0/src/share/say.bend as Sayimport Base
38# a package's name when its entry has one, otherwise the hash. `main` is kept:
39# it is the name the file has.
40def label.go(empty: Bool, +hash: String, +name: String) -> String:
41 match empty:
42 case True{}:
43 hash
44 case False{}:
45 name