Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
5 lines (4 sloc) 103 Bytes
class FuncRef {
def add(a: Int, b: Int) = a + b
def bar(in: Seq[Int]): Int = in.foldLeft(0)(add)
}