eta.util.general.subst

subst(a, b, lst)[source]

Recursively substitute b for a throughout a list.