Ariel Scolnicov wrote:
>
> Functional languages that do this are usually lazy
Yes, that's what I meant.
> That means that when you create
> the structure the `foo' field stores a closure which evaluates to the
> desired value. If the field is never accessed, the closure is never
> evaluated and no infinite loop results.
> I don't think we want this to happen automatically in Perl.
I think I agree with you on this.
--
John Porter
We're building the house of the future together.
- RFC 122 (v1) types and structures Perl6 RFC Librarian
- Re: RFC 122 (v1) types and structures Chaim Frenkel
- Re: RFC 122 (v1) types and structures John Porter
- Re: RFC 122 (v1) types and structures David L. Nicol
- Re: RFC 122 (v1) types and structures Ariel Scolnicov
- John Porter
