pub fn select_from_menu<'a, 'b, TS>( prompt: &'a str, choices: &'b [TS]) -> Result<&'b TS, String> where TS: DisplayFormat + Sized,