View Source Chrysopoeia.Branch (chrysopoeia v0.1.2)

Combinators that can parse multiple options.

Link to this section Summary

Functions

Applies a list of parsers, returning the result of the first successful one.

Link to this section Functions

@spec alt([Chrysopoeia.parser(any(), input, any())]) ::
  Chrysopoeia.parser(any(), input, any())

Applies a list of parsers, returning the result of the first successful one.