Should there be a 'choice' function in Control.Applicative?<span style="font-weight: bold;"><span style="font-weight: bold;"><br><br></span>choice</span> :: <a href="http://www.haskell.org/ghc/docs/latest/html/libraries/base/Control-Applicative.html#t%3AAlternative">
Alternative</a> f => [f a] -> f a<br>choice = foldr (<|>) empty<br>or:<br>choice = Data.Foldable.asum<br><br>Thanks,<br>Greg<br>