extract_ho function

Extract a 'history of' type variable