2011/12/6 missingfaktor <rahul.phulore....@gmail.com>
> Does Factor have a word similar to Haskell's 'iterate' function?
You may be looking for lfrom-by in the lists.lazy vocabulary.
Note that the documentation is wrong (I'll submit a patch), the quotation
has effect ( a -- b ), not ( -- n ).
Usage :
1 [ 2 * ] lfrom-by
5 swap ltake list>array
=> { 1 2 4 8 16 }
------------------------------------------------------------------------------
Cloud Services Checklist: Pricing and Packaging Optimization
This white paper is intended to serve as a reference, checklist and point of
discussion for anyone considering optimizing the pricing and packaging model
of a cloud services business. Read Now!
http://www.accelacomm.com/jaw/sfnl/114/51491232/
_______________________________________________
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk