Handbook
Glossary
costs ( vocabs -- length-on-new-line length-when-added-to-prev-line )
Vocabulary
format-using
Inputs
vocabs
an
object
Outputs
length-on-new-line
an
object
length-when-added-to-prev-line
an
object
Definition
USING:
kernel
math
;
IN:
format-using
:
costs
( vocabs -- length-on-new-line length-when-added-to-prev-line )
joined-length
[
indent-length
+
1
-
]
keep
;