I just tried the example, and it looks like it chomps the first character of each line?
eq sequence xemplar sequence ewseq a new sequence .. utputs... Is that just me? On Wed, Dec 24, 2008 at 1:12 AM, Eduardo Cavazos <wayo.cava...@gmail.com> wrote: > 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 > Factor-talk@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/factor-talk > ------------------------------------------------------------------------------ _______________________________________________ Factor-talk mailing list Factor-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/factor-talk