Hi,

I'm noticed that *foldRightM* fold function (*f*) is lazy by it's second 
argument:

def foldRightM[G[_], A, B](fa: F[A], z: ⇒ B)(f: (A, ⇒ B) ⇒ G[B])(implicit 
> M: Monad[G]): G[B]
>

What is the point of making it lazy? Isn't it still need to compute monadic 
value* G[B]* before passing it to *f*?

Thanks.

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

Reply via email to