From 8e15e4efc88d9d6173a79b6db83339e180f39a09 Mon Sep 17 00:00:00 2001 From: Isaac Levy Date: Thu, 3 Dec 2015 12:15:35 -0500 Subject: [PATCH] Fix typo in 3.0 currying proposal --- proposals/0002-remove-currying.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proposals/0002-remove-currying.md b/proposals/0002-remove-currying.md index 3954bcd7be..cb00617c61 100644 --- a/proposals/0002-remove-currying.md +++ b/proposals/0002-remove-currying.md @@ -59,7 +59,7 @@ can be transformed to explicitly return a closure instead: // After: func curried(x: Int) -> (String) -> Float { - return {(y: String -> Float in + return {(y: String -> Float) in return Float(x) + Float(y)! } }