You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by pa...@apache.org on 2015/05/01 08:55:58 UTC

incubator-groovy git commit: Fix 'call' in Closures/Memoization

Repository: incubator-groovy
Updated Branches:
  refs/heads/master 8aa516850 -> 40dd9b308


Fix 'call' in Closures/Memoization

Typo: 'call' instead of 'can'


Project: http://git-wip-us.apache.org/repos/asf/incubator-groovy/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-groovy/commit/40dd9b30
Tree: http://git-wip-us.apache.org/repos/asf/incubator-groovy/tree/40dd9b30
Diff: http://git-wip-us.apache.org/repos/asf/incubator-groovy/diff/40dd9b30

Branch: refs/heads/master
Commit: 40dd9b30879fe057626bedec64a824fde114e8d8
Parents: 8aa5168
Author: Dominik Fay <Da...@users.noreply.github.com>
Authored: Wed Apr 29 00:42:31 2015 +0200
Committer: pascalschumacher <pa...@gmx.net>
Committed: Fri May 1 08:53:33 2015 +0200

----------------------------------------------------------------------
 src/spec/doc/core-closures.adoc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/40dd9b30/src/spec/doc/core-closures.adoc
----------------------------------------------------------------------
diff --git a/src/spec/doc/core-closures.adoc b/src/spec/doc/core-closures.adoc
index 9fa2c07..ec02435 100644
--- a/src/spec/doc/core-closures.adoc
+++ b/src/spec/doc/core-closures.adoc
@@ -491,7 +491,7 @@ algorithm:
 - computing `fib(15)` requires the result of `fib(14)` and `fib(13)`
 - computing `fib(14)` requires the result of `fib(13)` and `fib(12)`
 
-Since calls are recursive, you call already see that we will compute the same values again and again, although they could
+Since calls are recursive, you can already see that we will compute the same values again and again, although they could
 be cached. This naive implementation can be "fixed" by caching the result of calls using `memoize`:
 
 [source,groovy]