# Helper for switching between distro-provided versions of `puckc` and locally-managed toolchains. # Hopefully, this helps eliminate the problems with distros packaging languages. # Subcommands: install (nightly beta stable hash), default, show type Toolchain = union Nightly, Stable, Beta, Hash(str) func main = ... func install(toolchain: Toolchain): Success[ref Err] func default(toolchain: Toolchain): Success[ref Err] func show(): str