Fixed in rev. b6cd8d8, thanks for reporting.
>>> > let ones = 1 : ones &;
>>
>> This creates a cyclic structure, so the stream gets expanded as soon as
>> you first access the tail of the stream. Hence `show` tries to print the
>> entire stream and will eventually run out of memory. Note that this won't
>> happen if you define `ones` as a function instead.
>>
>> So this is expected behaviour, but one might certainly argue that `show`
>> should handle this more gracefully. ;-) Could you please submit a bug
>> report?
https://bitbucket.org/purelang/pure-lang/issues
>
> done , this is Issue #6.
--
Dr. Albert Gr"af
Dept. of Music-Informatics, University of Mainz, Germany
Email:
agg...@gmail.com
WWW:
https://plus.google.com/111193356966611167754