Handbook
Glossary
?push-help-space ( accum sbuf obj -- accum sbuf' obj )
Vocabulary
help
.
syntax
.
private
Inputs
accum
an
object
sbuf
an
object
obj
an
object
Outputs
accum
an
object
sbuf'
an
object
obj
an
object
Definition
USING:
arrays
combinators.short-circuit
kernel
sequences
strings
;
IN:
help.syntax.private
:
?push-help-space
( accum sbuf obj -- accum sbuf' obj )
over
empty?
[
pick
[
f
]
[
last
{
[
string?
not
]
[
dup
array?
[
?first
]
when
help-block?
not
]
}
1&&
]
if-empty
]
[
over
last
" ("
member?
not
]
if
over
string?
[
over
?first
" .,;:)"
member?
not
and
]
when
[
[
32
suffix!
]
dip
]
when
;