class: Block
authorClaus Gittinger <cg@exept.de>
Sat, 09 Feb 2019 16:00:47 +0100
changeset 4797 ea7ce61a8957
parent 4796 3d3c49ddabdb
child 4798 4d94e6a27e21
class: Block comment/format in: #lazyValue #lazyValue: #lazyValue:value: #lazyValue:value:value: #lazyValueWithArguments:
extensions.st
--- a/extensions.st	Fri Feb 08 22:34:58 2019 +0100
+++ b/extensions.st	Sat Feb 09 16:00:47 2019 +0100
@@ -183,53 +183,63 @@
 !Block methodsFor:'parallel evaluation'!
 
 lazyValue
-    "Fork a synchronised evaluation of myself. Only starts
-     the evaluation when the result is requested."
+    "Return a lazy value object, evaluating myself. 
+     Only computes when the result is requested."
 
     ^ Lazy new block:self
+
+    "Modified (comment): / 09-02-2019 / 15:59:29 / Claus Gittinger"
 ! !
 
 !Block methodsFor:'parallel evaluation'!
 
 lazyValue:aValue
-    "Fork a synchronised evaluation of myself. Only starts
-     the evaluation when the result is requested."
+    "Return a lazy value object, evaluating myself. 
+     Only computes when the result is requested."
 
     ^ Lazy new block:self value:aValue
+
+    "Modified (comment): / 09-02-2019 / 16:00:02 / Claus Gittinger"
 ! !
 
 !Block methodsFor:'parallel evaluation'!
 
 lazyValue:aValue value:anotherValue
-    "Fork a synchronised evaluation of myself. Only starts
-     the evaluation when the result is requested."
+    "Return a lazy value object, evaluating myself. 
+     Only computes when the result is requested."
 
     ^ Lazy new
-	block:self
-	value:aValue
-	value:anotherValue
+        block:self
+        value:aValue
+        value:anotherValue
+
+    "Modified (comment): / 09-02-2019 / 16:00:05 / Claus Gittinger"
 ! !
 
 !Block methodsFor:'parallel evaluation'!
 
 lazyValue:aValue value:anotherValue value:bValue
-    "Fork a synchronised evaluation of myself. Only starts
-     the evaluation when the result is requested."
+    "Return a lazy value object, evaluating myself. 
+     Only computes when the result is requested."
 
     ^ Lazy new
-	block:self
-	value:aValue
-	value:anotherValue
-	value:bValue
+        block:self
+        value:aValue
+        value:anotherValue
+        value:bValue
+
+    "Modified (comment): / 09-02-2019 / 16:00:08 / Claus Gittinger"
 ! !
 
 !Block methodsFor:'parallel evaluation'!
 
 lazyValueWithArguments:anArray
-    "Fork a synchronised evaluation of myself. Only starts
-     the evaluation when the result is requested."
+    "Return a lazy value object, evaluating myself. 
+     Only computes when the result is requested."
 
     ^ Lazy new block:self valueWithArguments:anArray
+
+    "Modified (comment): / 09-02-2019 / 16:00:12 / Claus Gittinger"
 ! !
 
 !Block methodsFor:'process creation'!