Should there be a &#39;choice&#39; 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 =&gt; [f a] -&gt; f a<br>choice = foldr (&lt;|&gt;) empty<br>or:<br>choice = Data.Foldable.asum<br><br>Thanks,<br>Greg<br>