Parallel-safe lambdas
Mark Thornton
mthornton at optrak.co.uk
Thu Feb 11 11:42:10 PST 2010
John Rose wrote:
> 4. allow unqualified references to uplevel methods if they are "pure" (marked @Pure)
>
A colleague recently suggested that a parameter to one of my methods
needed to be marked as @Pure. The parameter was a single method
interface, where the method would be called an indeterminate number of
times and must return the same value on each occasion without side
effects. The usage in this case wasn't necessarily concurrent.
Mark
More information about the lambda-dev
mailing list