- The following formely list-specific words are now generic:
all? ( seq quot -- ? | quot: elt -- ? )
all-with? ( obj seq quot -- ? | quot: elt -- ? )
subset ( seq quot -- seq | quot: elt -- ? )
subset-with ( obj seq quot -- seq | quot: obj elt -- ? )
fiber? ( seq quot -- ? | quot: elt elt -- ? )
prune ( seq -- seq )
- The
contains? word for testing membership in a sequence has been
renamed to member? ( elt seq -- ? ).
- The list-specific
some? and some-with? combinators are gone. Their replacements are generic:
contains? ( seq quot -- ? | quot: elt -- ? )
contains-with? ( obj seq quot -- ? | quot: obj elt -- ? )
find ( seq quot -- i elt | quot: elt -- ? )
find* ( i seq quot -- i elt | quot: elt -- ? )
find-with ( obj seq quot -- i elt | quot: elt -- ? )
find-with* ( obj i seq quot -- i elt | quot: elt -- ? )
See the developer's handbook for details.
- The
nreverse ( seq -- ) word has been removed.
-
reverse-slice ( seq -- seq ) outputs a new sequence that shares
structure with the given sequence, but presents elements in reverse
order.
- The
string-compare primitive has been replaced with the lexi word
which now operates on any pair of sequences of numbers. The
string> word has been replaced with lexi>.
- The
, word no longer accepts a string as input inside a make-string. In 0.75, the following
two lines were equivalent:
[ "Hello" , " world" , ] make-string
[ "Hello" % " world" % ] make-string
- Now, the former raises a type error. Use
, with characters, and % with
strings inside make-string.