The type of the value to be computed
Readonly_Tag identifying this as a Lazy type
Left fold operation
Right fold operation
ReadonlyisWhether the computation has been evaluated
Counts elements that satisfy the predicate. For single-value containers: returns 0 or 1 For collections: returns the count of matching elements
Tests whether any element satisfies the predicate. For single-value containers: tests the single value For collections: returns true if any element matches
Applies an effect function to each element. For single-value containers: applies to the value if present For collections: applies to each element
Returns the computed value or throws an error if computation fails
Optionalerror: ErrorOptional custom error to throw. If not provided, throws the computation error or a default error
The computed value
Creates a string representation of the Lazy
String representation showing evaluation status
Converts the Lazy to a value object
Object representation of the Lazy with evaluation state
The Lazy type represents a computation that is deferred until needed. It provides memoization and safe evaluation with integration to Option, Either, and Try.