Alternative, an extension of Applicative, declares empty, <|> and these two functions:
One or more:
The regex-applicative package defines a custom many method for the RE (regular expression) type. Regular expressions, and therefore RE parsers, must be finite in size, so using default definitions for both some and many would lead to infinite loops! Fortunately, many is just the classic regular expression *.
The package also includes a definition of some, but that looks too much like the default definition to be anything interesting.