choice' haddock
This commit is contained in:
		
							parent
							
								
									5d5fb30685
								
							
						
					
					
						commit
						f2171c1e02
					
				| @ -336,6 +336,8 @@ tracewith f e = trace (f e) e | ||||
| 
 | ||||
| -- parsing | ||||
| 
 | ||||
| -- | Backtracking choice, use this when alternatives share a prefix. | ||||
| -- Consumes no input if all choices fail. | ||||
| choice' :: [GenParser tok st a] -> GenParser tok st a | ||||
| choice' = choice . map Text.ParserCombinators.Parsec.try | ||||
| 
 | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user