fn extract_symbol_names<'a>(
    actions: &'a [(&str, Action)]
) -> impl Iterator<Item = String> + 'a