Skip to main content

productive_parser

Function productive_parser 

Source
pub open spec fn productive_parser<T>(parser: ParserFnSpec<T>) -> bool
Expand description
{ forall |input: Seq<u8>| #[trigger] parser(input) matches Some((n, _)) ==> n > 0 }

The functional version of Productive.