pub fn parse_list<T, E>( list: &[Term], parser: impl Fn(&[u8]) -> Result<T, E>, ) -> Vec<T>where E: Display,
Parse a list of ETF terms into structured data using the provided parser