¡@

Home 

c# Programming Glossary: traversable

Chart of IEnumerable LINQ equivalents in Scala? [duplicate]

http://stackoverflow.com/questions/8104846/chart-of-ienumerable-linq-equivalents-in-scala

xs.Any pred xs.exists pred xs.AsEnumerable xs.asTraversable roughly xs.Average xs.sum xs.length xs.Average trans trans xs.sum.. own. Here are some such functions. Single def single A xs Traversable A A if xs.isEmpty sys error Empty sequence else if xs.size 1.. else xs.head SingleOrDefault def singleOrDefault A Zero xs Traversable A A if xs.isEmpty mzero else if xs.size 1 sys error More than..