O object

Lambda

extends Object with Serializable

A lambda (...) => ... in the source code is represented as a local method and a closure:

{ def m(...) = ... closure(m) }

Supertypes

Object, Serializable

Members

def 

apply

( tpe: MethodType rhsFn: List[Tree] => Tree ) ( implicit  ctx: Context ) : Block

def 

unapply

( tree: Block ) ( implicit  ctx: Context ) : Option[( List[ValDef], Term )]