dest_anylet : term -> (term * term) list * term
Each ai can be a varstruct (a single variable or a tuple of variables), or a function variable applied to a sequence of varstructs.
- dest_anylet ``let f (x,y) = M and g z = N in g (f (a,b))``; > val it = ([(`f (x,y)`, `M`), (`g z`, `N`)], `g (f (a,b))`) : - dest_anylet ``let f (x,y) = M in let g z = N in g (f (a,b))``; > val it = ([(`f (x,y)`, `M`)], `let g z = N in g (f (a,b))`)