def cluster.done
import shake@0.7.0.0/src/cli.bend as Cliimport Base
953# whether the cluster has ended after this letter
954def cluster.done(done: Bool, +cc: Char, +rest: String, st: St) -> Bool:
955 match done:
956 case True{}:
957 True{}
958 case False{}:
959 St{_m, +args, _g, _s, _p, _b, _o, _r, _n} = st
960 cluster.ends(by_short(args, SCon{cc, SNil{}}), rest)