[Factor-talk] More consistent word names

2009-10-28 Thread Doug Coleman
We've talked about renaming the destructive versions of words to be more consistent with the non-destructive versions for quite some time, but until now, little has been done in this direction. First off, I renamed change-each to map! and made map! return the sequence so the stack effect is

Re: [Factor-talk] More consistent word names

2009-10-28 Thread Chris Double
On Thu, Oct 29, 2009 at 9:35 AM, Doug Coleman doug.cole...@gmail.com wrote: I removed a couple of unused words: remove-all and substitute-here. How do you know they're unused? Chris. -- http://www.bluishcoder.co.nz

Re: [Factor-talk] More consistent word names

2009-10-28 Thread Doug Coleman
I used grep. I can add substitute-here as substitute! if you'd like. Remove-all, if it's useful at all, should be renamed to something else since sequences:remove is something quite different, and the name was confusing. In general, if there are no usages of a word in the Factor git

Re: [Factor-talk] More consistent word names

2009-10-28 Thread Chris Double
On Thu, Oct 29, 2009 at 10:32 AM, Doug Coleman doug.cole...@gmail.com wrote: I used grep.  I can add substitute-here as substitute! if you'd like. Remove-all, if it's useful at all, should be renamed to something else since sequences:remove is something quite different, and the name was