14 Mar
2007
14 Mar
'07
12:35 a.m.
Should there be a 'choice' function in Control.Applicative? choice :: Alternative<http://www.haskell.org/ghc/docs/latest/html/libraries/base/Control-Applicative.html#t%3AAlternative>f => [f a] -> f a choice = foldr (<|>) empty or: choice = Data.Foldable.asum Thanks, Greg