examples/future_composition.fy in fancy-0.3.3 vs examples/future_composition.fy in fancy-0.4.0

- old
+ new

@@ -2,11 +2,11 @@ def do_large_computation: x { x upto: (x ** x) } -# Future#&& takes a Block (or a Callable - something that implements 'call:) -# and creates a new Future that executes the given Block with the value of the first Future +# FutureSend#&& takes a Block (or a Callable - something that implements 'call:) +# and creates a new FutureSend that executes the given Block with the value of the first FutureSend # when it has finished its computation. This makes pipelining tasks easy. f = self @ do_large_computation: 5 && @{select: 'even?} && @{inspect println} "computing .. " println f value