That all makes sense, I would just suggest reduce* (the reduce that
requires the list to be of at least length one) as a useful word to
have in the sequences library. This is mostly my own personal bias, as
I've found it useful in my own code, but FWIW Haskell has an
equivalent in its standard List
The existence of sequences.lib, combinators.lib and so on always
bothered me, and I was opposed to the idea from the very start,
because instead of thinking about the right place to put a utility
word, people would just dump them in there. So we ended up with an
ad-hoc grab-bag of utilities with no
Removing >r/r> makes the language simpler. We used to have two
features that did the same thing: now we have one.
>r ... r>
is exactly equivalent to
[ ... ] dip
>r/r> does not buy you anything new if you have dip, and it is less safe
>because you can forget to balance them correctly -- with di
Kobi Lurie wrote:
> this is a forth feature, that factor departed from.
> what do u think? Is it true that factor is becoming less simple as time
> passes? or perhaps it's just shaping up a face of its own.
I'd agree with the latter -- it's a face of Factor's own.
As a Forth user and fan, I'm gl
"Slava Pestov" writes:
> Jose,
>
> Indentation for [let is a bit tricky to get right. jEdit doesn't do
> it, so if FUEL implemented it, it would be a killer feature for sure.
>
> Here is how to indent [let forms:
>
> [let | x1 [ ... ]
>x2 [ ... ] ! line up 'x1' with 'x2'
>x3 [ ...
"Slava Pestov" writes:
> Hi Jose,
>
> Another minor bug. I hope you don't mind all of these bug reports, I'm
> really enjoying using FUEL.
Not in the slightest. On the contrary, it's great you're taking the time
to test FUEL and reporting bugs and feature requests; please keep the
coming.
>
> C
Hi,
I was just wondering what's going on with the removal of the
sequences.lib vocabulary. Some useful words like reduce* seem to have
been lost. Is there any particular reason for removing these rather
than moving them to another vocab?
thanks,
Alex
-
may they rest in peace.
this is a forth feature, that factor departed from.
I think this indicates that factor is becoming more structured and less
hackable/flexible.
In general, it is good for designing code and keeping it clean, or good
practices.
OTOH, it might take more mental work to start wi