|
Scala Library
|
|
scala/util/control/TailRec.scala]
object
TailRec
extends AnyRef| Method Summary | |
def
|
done [A](result : A) : Done[A] |
def
|
loop [A](body : TailRec[A]) : A |
def
|
tailcall [A](rest : => TailRec[A]) : Call[A] |
def
|
trampoline [A](body : TailRec[A]) : A |
| Methods inherited from AnyRef | |
| getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized |
| Methods inherited from Any | |
| ==, !=, isInstanceOf, asInstanceOf |
| Class Summary | |
case class
|
Call
[A](val rest : () => TailRec[A]) extends TailRec[A] with Product
|
case class
|
Done
[A](val result : A) extends TailRec[A] with Product
|
| Method Details |
|
Scala Library
|
|