Handbook
Glossary
$maybe ( element -- )
Factor handbook
»
Developer tools
»
Help system
»
Writing documentation
»
Element types
»
Block elements
Prev:
$instance ( element -- )
Next:
$or ( element -- )
Vocabulary
help.markup
Inputs
element
an array with shape
{ class }
Outputs
None
Word description
Produces the text “a
class
or f” or “an
class
or f”, depending on the first letter of
class
.
Examples
{ $maybe string } print-element
a
string
or
f
Definition
USING:
sequences
;
IN:
help.markup
:
$maybe
( element -- )
f
suffix
$or
;