def is_live
import bolt@1.27.0.0/src/rules/calls.bend as Callsimport Base
import bolt@1.27.0.0/src/syntax/tree.bend as Tree
211# a live parameter: typed, and neither erased (`-A: Type`) nor a template
212# (`~f: A -> B`); a bare quantity name (`a` in `List.get(a, ..)`) is not one
213def is_live(+pp: Tree.Node) -> Bool:
214 Bool.and(Bool.not(is_live.sign(pp)), has_colon(pp))