`some` and `many` are functions in Haskell's `Alternative` type class.
some and many are functions in Haskell's Alternative type class.
some returns one or more, many -- 0 or more results in a list, collected from performing the same computation over and over by the maximal munch rule. For this to make sense, some state passing (and alteration) must take place reducing the domain of possibilities somehow, otherwise it will repeat ad infinitum. State passing is closely related to parsing.