Vocabulary Wishlist

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 ;
2 Likes

qw is another useful vocabulary.

It lets you write

qw{ apple orange lime }

instead of

{ "apple" "orange" "lime" }
2 Likes

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.

3 Likes

sequences.repeating and circular are both nice to have

2 Likes

pair-rocket is a nice small one that makes it nicer to build assocs

3 Likes

assocs.extras would be very handy.

2 Likes

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.

1 Like