Quantcast
Channel: Commenti a: Il linguaggio Scala
Viewing all articles
Browse latest Browse all 8

Di: ZeD

$
0
0
def sum(l: List[int]): int = (0/:l){_+_}

O_o

è la più brutta foldr / reduce che abbia mai visto

Boh, magari sono io, ma più vedo questo linguaggio meno m’attira (ottimo articolo, comunque)


Viewing all articles
Browse latest Browse all 8

Latest Images

Trending Articles





Latest Images