(*<*) theory Nested imports ABexpr begin (*>*) text‹ \index{datatypes!and nested recursion}% So far, all datatypes had the property that on the right-hand side of their definition they occurred only at the top-level: directly below a constructor. Now we consider \emph{nested recursion}, where the recursive datatype occurs nested in some other datatype (but not inside itself!). Consider the following model of terms where function symbols can be applied to a list of arguments: › (*<*)hide_const Var(*>*)