Table of Contents

Method WithoutCaptures

Namespace
SodaFlow
Assembly
SodaFlow.dll

WithoutCaptures(Func<LoopedCell<T>, T>)

Constructs a value which can refer to itself.

[Pure]
public static T WithoutCaptures(Func<LoopedCell<T>, T> f)

Parameters

f Func<LoopedCell<T>, T>

A function which takes a forward reference to the value it is producing, and returns that value.

Returns

T

The constructed value.

Remarks

ForwardReference<T> itself names T, since a lambda gives type inference nothing to work from.