pick rep-of {
{ tagged-rep [ nip adjoin ] }
{ int-rep [ visit-derived-root ] }
- [ 2drop 2drop ]
+ [ 4drop ]
} case ;
: gc-roots ( live-set -- derived-roots gc-roots )
[ -18446744073709551616 ] [ -1 64 [ fixnum-shift ] compile-call ] unit-test
[ -18446744073709551616 ] [ -1 [ 64 fixnum-shift ] compile-call ] unit-test
[ -18446744073709551616 ] [ -1 [ 32 fixnum-shift 32 fixnum-shift ] compile-call ] unit-test
-
+
[ 576460752303423488 ] [ -576460752303423488 >fixnum -1 [ fixnum/i ] compile-call ] unit-test
[ 576460752303423488 0 ] [ -576460752303423488 >fixnum -1 [ fixnum/mod ] compile-call ] unit-test
ERROR: bug-in-fixnum* x y a b ;
[ ] [
- 10000 [
+ 10000 [
32 random-bits >fixnum
32 random-bits >fixnum
2dup [ fixnum* ] [ compiled-fixnum* ] 2bi 2dup =
- [ 2drop 2drop ] [ bug-in-fixnum* ] if
+ [ 4drop ] [ bug-in-fixnum* ] if
] times
] unit-test
drop read-until-loop
] if
] [
- [ 2drop 2drop ] dip
+ [ 4drop ] dip
] if ;
M: input-port stream-read-until ( seps port -- str/f sep/f )
: compare-endpoints ( p1 p2 quot -- ? )
[ 2dup [ first ] bi@ 2dup ] dip call [
- 2drop 2drop t
+ 4drop t
] [
number= [ [ second ] bi@ not or ] [ 2drop f ] if
] if ; inline
: math-both-known? ( word left right -- ? )
3dup math-op
- [ 2drop 2drop t ]
+ [ 4drop t ]
[ drop math-class-max swap method-for-class >boolean ] if ;
: (derived-ops) ( word assoc -- words )
M: f #call, 3drop ;
M: f #call-recursive, 3drop ;
M: f #push, 2drop ;
-M: f #shuffle, 2drop 2drop drop ;
+M: f #shuffle, 4drop drop ;
M: f #>r, 2drop ;
M: f #r>, 2drop ;
M: f #return, drop ;
[ table>> (selected-row) ] tri [
[ key>> ] [ key-string>> ] bi
slot-editor-window
- ] [ 2drop 2drop ] if ;
+ ] [ 4drop ] if ;
: inspector-help ( -- ) "ui-inspector" com-browse ;
source-modified? [ get push ] [ 2drop ] if
] [ 3drop ] if
] [ drop get push ] if
- ] [ 2drop 2drop ] if ;
+ ] [ 4drop ] if ;
: to-refresh ( prefix -- modified-sources modified-docs unchanged )
[
2dup swap length \r
{\r
{ [ over 1 = ] [ 3drop columnize ] }\r
- { [ over 0 = ] [ 2drop 2drop { } ] }\r
- { [ 2dup < ] [ 2drop [ 1 cut ] dip \r
- [ 1 - among [ append ] with map ] \r
+ { [ over 0 = ] [ 4drop { } ] }\r
+ { [ 2dup < ] [ 2drop [ 1 cut ] dip\r
+ [ 1 - among [ append ] with map ]\r
[ among append ] 2bi\r
] }\r
{ [ 2dup = ] [ 3drop 1array ] }\r
- { [ 2dup > ] [ 2drop 2drop { } ] } \r
+ { [ 2dup > ] [ 4drop { } ] }\r
} cond\r
;\r
\r
-: concat-nth ( seq1 seq2 -- seq ) \r
+: concat-nth ( seq1 seq2 -- seq )\r
[ nth append ] curry map-index ;\r
\r
: do-cycle ( array -- array ) dup first suffix ;\r