Haskell – What is Control.Applicative.Alternative good for?

It’s commonly used with parser combinators. For example, if space is a parser combinator that matches a single whitespace character, many space would be one that would match consecutive whitespace.

I can agree that it’s slightly out of place in Control.Applicative, though.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)