[Omake] lazy values in arrays?

Erick Tryzelaar erickt at dslextreme.com
Sun Jan 28 23:53:50 PST 2007


Boy I'm chatty today :)

Is there any way to store a lazy value in an array? The obvious route 
doesn't work:

% x=1
- : "1" : Sequence
% y = $(array $`x 1 2 3)
- : <array
       <sequence "1" : Sequence "" : Sequence> : Sequence
       "1" : Sequence
       "2" : Sequence
       "3" : Sequence>
       : Array
% echo $(y)
1 1 2 3
% x=2
- : "2" : Sequence
% echo $(y)
1 1 2 3


-e


More information about the Omake mailing list