public static interface Func.VI<𝓐,𝓑,𝓒,𝓓,𝓔,𝓕,𝓖> extends Lazy<Func.VI<𝓐,𝓑,𝓒,𝓓,𝓔,𝓕,𝓖>>, frege.run.Kind.U<Func.VI<𝓐,𝓑,𝓒,𝓓,𝓔,𝓕,?>,𝓖>, frege.run.Kind.B<Func.VI<𝓐,𝓑,𝓒,𝓓,𝓔,?,?>,𝓕,𝓖>, frege.run.Kind.T<Func.VI<𝓐,𝓑,𝓒,𝓓,?,?,?>,𝓔,𝓕,𝓖>, frege.run.Kind.Q<Func.VI<𝓐,𝓑,𝓒,?,?,?,?>,𝓓,𝓔,𝓕,𝓖>, frege.run.Kind.V<Func.VI<𝓐,𝓑,?,?,?,?,?>,𝓒,𝓓,𝓔,𝓕,𝓖>, frege.run.Kind.VI<Func.VI<𝓐,?,?,?,?,?,?>,𝓑,𝓒,𝓓,𝓔,𝓕,𝓖>, frege.run.Kind.VII<Func.VI<?,?,?,?,?,?,?>,𝓐,𝓑,𝓒,𝓓,𝓔,𝓕,𝓖>
| Modifier and Type | Interface and Description |
|---|---|
static class |
Func.VI.D<𝓐,𝓑,𝓒,𝓓,𝓔,𝓕,𝓖> |
Func.VI<𝓐,𝓑,𝓒,𝓓,𝓔,𝓕,𝓖> call()
LazyCompute the value if it is needed.
boolean isShared()
LazyTell if this is shared.
Data and functions whose Lazy.call() method returns this as well
as simple boxes that just hold a value ready to be supplied and Thunks
are considered shared.
But a bare lambda expression is assumed to be in need of sharing. For example:
() -> 42