Skip to contents

Recursively walks the formula AST and collects all latent(...) calls. The matched calls are returned unevaluated; tulpa_parse_formula() resolves them in the formula's environment.

Usage

find_latent_terms(term)

Arguments

term

A language object (formula term)

Value

A list of language objects, each a latent(...) call