[][src]Function honeycomb::atoms::list

pub fn list<A, B>(parser: Parser<A>, sep: Parser<B>) -> Parser<Vec<A>> where
    A: 'static + Clone,
    B: 'static + Clone

Consumes a list of items separated by a seperating parser This will match the following. A, B, ... A, B, A, B A, A This parser will also consume no input.