
9 Jan
2008
9 Jan
'08
5:26 a.m.
Sterling Clover wrote:
The more general question, which stems from a certain degree of ignorance on my part, is what uses folks have found for Alternative at all outside of parsing.
Alternative is the generalization of MonadPlus, so empty and <|> are useful for lists and Maybe at least. But I'm not sure whether many :: Alternative f => f a -> f [a] and friends have any uses outside of parsing. Regards, apfelmus