Expand description
OrdChoice combinator
Macros§
- inj_
ord_ choice_ pat - Same as above but for patterns
- inj_
ord_ choice_ result - Maps x:Ti to ord_choice_result!(T1, …, Tn)
- ord_
choice - This macro constructs a nested OrdChoice combinator in the form of OrdChoice(…, OrdChoice(…, OrdChoice(…, …)))
- ord_
choice_ result - Build a type for the result of
ord_choice! - ord_
choice_ type - Build a type for the
ord_choice!macro
Structs§
- OrdChoice
- Combinator that tries the
Fstcombinator and if it fails, tries theSndcombinator.