Meaning of Element methods

Samuele Pretini <[email protected]> Wed, 30 Mar 2016 07:04:52 -0700 (PDT)
Newsgroups gmane.comp.lang.scala
Message-ID <[email protected]>
Hi at all,

I'm new student of Scala.

During some test that I'm doing, I have seen the class 
*scala.collection.IndexedSeqLike.Elements*

In this class there is a method: *aggregate*

The signature of the method is the question: 
def aggregate[B](z: ⇒ B)(seqop: (B, A) ⇒ B, combop: (B, B) ⇒ B): B


   1. What's mean of  z: => B ?
   2. What's mean of the 2 parenthesis: (z: ⇒ B)(seqop: (B, A) ⇒ B, combop: 
   (B, B) ⇒ B)

Can someone of us to explain to me?

Thanks a lot. :-)

-- 
You received this message because you are subscribed to the Google Groups "scala-language" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.