srdf::srdf_parser

Function and_then

Source
pub fn and_then<RDF, P, F, O, E>(parser: P, function: F) -> AndThen<P, F>
where RDF: FocusRDF, P: RDFNodeParse<RDF>, F: FnMut(P::Output) -> Result<O, E>, E: Into<RDFParseError>,