public static interface Func.U<𝓐,𝓑> extends Lazy<Func.U<𝓐,𝓑>>, frege.run.Kind.U<Func.U<𝓐,?>,𝓑>, frege.run.Kind.B<Func.U<?,?>,𝓐,𝓑>
boolean isShared()
Lazy
Tell 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 Thunk
s
are considered shared.
But a bare lambda expression is assumed to be in need of sharing. For example:
() -> 42