core: swap 3append -> glue

db4
Doug Coleman 2008-12-03 19:12:48 -06:00
parent 3ab0d03a19
commit 0e14f767ee
3 changed files with 3 additions and 3 deletions

View File

@ -26,7 +26,7 @@ GENERIC: effect>string ( obj -- str )
M: string effect>string ;
M: word effect>string name>> ;
M: integer effect>string number>string ;
M: pair effect>string first2 [ effect>string ] bi@ ": " swap 3append ;
M: pair effect>string first2 [ effect>string ] bi@ ": " glue ;
: stack-picture ( seq -- string )
dup integer? [ "object" <repetition> ] when

View File

@ -77,7 +77,7 @@ TUPLE: check-method class generic ;
3tri ; inline
: method-word-name ( class word -- string )
[ name>> ] bi@ "=>" swap 3append ;
[ name>> ] bi@ "=>" glue ;
PREDICATE: method-body < word
"method-generic" word-prop >boolean ;

View File

@ -128,7 +128,7 @@ M: ratio >base
[
[ numerator (>base) ]
[ denominator (>base) ] bi
"/" swap 3append
"/" glue
] bi* append
negative? get [ CHAR: - prefix ] when
] with-radix ;