autofolder is a single-element folding wrapper that can be used to accumulate and select values (for example) in an ad-hoc fashion.