]> gitweb.factorcode.org Git - factor.git/commit
assocs: move with-assoc back to assocs
authorDoug Coleman <doug.coleman@gmail.com>
Mon, 6 Feb 2023 00:36:16 +0000 (18:36 -0600)
committerDoug Coleman <doug.coleman@gmail.com>
Sun, 26 Feb 2023 23:11:03 +0000 (17:11 -0600)
commitba0f2f5ed26ce2f1e09d5ad2f9e38dc9045f721a
tree5a1fdf502fd84419fee2a068e7c9e25df1094a09
parenteb00ebd6ed63abb60fda6760c60e8868e4f90968
assocs: move with-assoc back to assocs

There are two uses of `curry [ swap ] prepose`. One is to swap the arguments
from assoc-each etc from ( key value ) to ( value key ). The other use in
sequences is for hiding the top stack element from the quotation.
core/assocs/assocs.factor
core/sequences/sequences.factor