blob: 2e85e366e9efb239171bd0c3491b6334e0a1c6cb (
plain) (
blame)
1
2
3
4
5
6
7
|
object Test {
def foo(x: Int): Int = x
Some(foo): Option[Int => Int]
// missing arguments for method foo
// follow this method with `_' if you want to treat it as a partially applied function
}
|