Handbook
Glossary
align-string ( str n alignment -- str' )
Vocabulary
rosetta
.
align-columns
Inputs
str
an
object
n
an
object
alignment
an
object
Outputs
str'
an
object
Definition
IN:
rosetta.align-columns
GENERIC:
align-string
( str n alignment -- str' )
Methods
USING:
kernel
rosetta.align-columns
sequences
;
M:
+left+
align-string
drop
32
pad-tail
;
USING:
kernel
math
math.functions
rosetta.align-columns
sequences
strings
;
M:
+middle+
align-string
drop
over
length
-
2
/
[
floor
32
<string>
]
[
ceiling
32
<string>
]
bi
surround
;
USING:
kernel
rosetta.align-columns
sequences
;
M:
+right+
align-string
drop
32
pad-head
;