summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGeoff Liu <cangming.liu@gmail.com>2016-02-15 14:18:37 -0500
committerGeoff Liu <cangming.liu@gmail.com>2016-02-15 14:18:37 -0500
commit7b15495a061f0c0e9f2dba8bf4d12e732e34709d (patch)
tree0ac299c48f512494415439b7fdd1110092c9e0bf
parent712c9f342ff054039bd8e93a43be6ea0846ebc83 (diff)
parent1d785f8e84fd5eb0dbf6b6df28044568739684fd (diff)
Merge pull request #2136 from orsenthil/patch-2
memoize not memorize
-rw-r--r--groovy.html.markdown2
1 files changed, 1 insertions, 1 deletions
diff --git a/groovy.html.markdown b/groovy.html.markdown
index ea575248..94678c39 100644
--- a/groovy.html.markdown
+++ b/groovy.html.markdown
@@ -280,7 +280,7 @@ def clos = { print it }
clos( "hi" )
/*
- Groovy can memorize closure results [1][2][3]
+ Groovy can memoize closure results [1][2][3]
*/
def cl = {a, b ->
sleep(3000) // simulate some time consuming processing