From f13de66e92210d6c71301d5273b1baf2417e5e6c Mon Sep 17 00:00:00 2001 From: Jeff Shaw Date: Thu, 14 Feb 2019 23:13:56 -0500 Subject: [PATCH] fix value type --- index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.html b/index.html index 1e310b1..b712e29 100644 --- a/index.html +++ b/index.html @@ -588,7 +588,7 @@

lambda creation

i -> i.toString();
val toString: Integer => String =
   i => i.toString
Function<Integer, String> toString;
-Integer result = toString.apply(3);
val toString: Integer => String
+String result = toString.apply(3);
val toString: Integer => String
 val result = toString(3)
Function<Integer, String> toString =
   Object::toString;
val toString: Int => String =