As you may have noticed, many vocabularies have been pruned to keep Exercism’s Factor image small.
Is there a vocabulary that you think should be available? List them here.
As you may have noticed, many vocabularies have been pruned to keep Exercism’s Factor image small.
Is there a vocabulary that you think should be available? List them here.
It would be nice to have the infix vocabulary.
It lets you write words using standard infix syntax and plays nice with locals.
USE: infix
INFIX:: my-add ( x y -- x+y )
x + y ;
qw is another useful vocabulary.
It lets you write
qw{ apple orange lime }
instead of
{ "apple" "orange" "lime" }
sequences.extras has a lot of extremely useful and frankly, fundamental words such as take-while. Many words here are slated to be promoted to sequences and haven’t been yet.
sequences.repeating and circular are both nice to have
pair-rocket is a nice small one that makes it nicer to build assocs
assocs.extras would be very handy.
I have added assocs.extras to the test runner test suite. Can you check that it works correctly through the web interface.
The web interface now also reports a line number for errors.