unBinds : Term vars -> Exists (\outer => Term (outer <>> vars))
onPRefs : Monoid m => (Name -> m) -> Term vars -> m
allGlobals : Term vars -> NameMap ()
onConstants : Monoid m => (Constant -> m) -> Term vars -> m
allConstants : Term vars -> SortedSet Constant
mapTermM : Monad m => (Term vars -> m (Term vars)) -> Term vars -> m (Term vars)
mapTerm : (Term vars -> Term vars) -> Term vars -> Term vars