SYNTAX: shuffle(
")" parse-effect suffix! \ shuffle-effect suffix! ;
+: spin ( x y z -- z y x ) swap rot ; inline deprecated
+
: roll ( x y z t -- y z t x ) [ rot ] dip swap ; inline deprecated
: -roll ( x y z t -- t x y z ) swap [ -rot ] dip ; inline deprecated
C: <predicate-engine> predicate-engine
-: push-method ( method specializer atomic assoc -- )
+: push-method ( specializer method atomic assoc -- )
dupd [
[ ] [ H{ } clone <predicate-engine> ] ?if
[ methods>> set-at ] keep
: flatten-method ( class method assoc -- )
[ [ flatten-class keys ] keep ] 2dip [
- [ spin ] dip push-method
+ [ swap rot ] dip push-method
] 3curry each ;
: flatten-methods ( assoc -- assoc' )