Hello,
Here is the help markup for the word 'like' in "sequences-docs.factor" :
------------------------------------------------------------
HELP: like
{ $values { "seq" sequence } { "exemplar" sequence } { "newseq" "a new
sequence" } }
{ $contract "Outputs a sequence with the same elements as " {
$snippet "seq" } ", but " { $emphasis "like" } " the template sequence, in
the sense that it either has the same class as the template sequence, or if
the template sequence is a virtual sequence, the same class as the template
sequence's underlying sequence."
$nl
"The default implementation does nothing." }
{ $notes "Unlike " { $link clone-like } ", the output sequence might share
storage with the input sequence." } ;
------------------------------------------------------------
Here it is using easy-help. This example is real. I pasted it into
the "sequences-docs.factor" and it renders.
------------------------------------------------------------
Word: like
Values:
seq sequence
exemplar sequence
newseq a new sequence ..
Contract:
Outputs a sequence with the same elements as { $snippet "seq" } ,
but { $emphasis "like" } the template sequence, in the sense
that it either has the same class as the template sequence, or if
the template sequence is a virtual sequence, the same class as the
template sequence's underlying sequence.
The default implementation does nothing. ..
Notes:
Unlike { $link clone-like } , the output sequence might share
storage with the input sequence. ..
;
------------------------------------------------------------
Ed
------------------------------------------------------------------------------
_______________________________________________
Factor-talk mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/factor-talk