Thanks for the tips on sequences. What you pointed out should work for my slide-rule program. Even though I wrote list.factor I don't mind trashing it in favor of a more idiomatic approach. Its just basic programming.
On the other hand, I wouldn't consider www.rosycrew.org/symtab.factor to be basic programming. I have noticed that your browser search is extremely slow. Would symtab speed it up? What is going on in there that takes so long? > Message: 5 > Date: Sat, 26 Sep 2009 21:14:13 -0500 > From: Slava Pestov <[email protected]> > Subject: Re: [Factor-talk] list > To: [email protected] > Message-ID: > <[email protected]> > Content-Type: text/plain; charset=ISO-8859-1 > You can use cut and cut* to split a sequence at an index from the start or > end: > More generally, there is a whole set of words for slicing sequences; > http://docs.factorcode.org/content/article-sequences-slices.html > There is a word insert-nth that inserts a value at an index: > To insert a sequence at a subrange, use replace-slice: > You can define literals and a printed representation for your own lists, > too. ------------------------------------------------------------------------------ Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9-12, 2009. Register now! http://p.sf.net/sfu/devconf _______________________________________________ Factor-talk mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/factor-talk
