From: Slava Pestov Date: Thu, 24 Sep 2009 01:52:04 +0000 (-0500) Subject: Fix conflict X-Git-Tag: 0.97~5480^2~23 X-Git-Url: https://gitweb.factorcode.org/gitweb.cgi?p=factor.git;a=commitdiff_plain;h=0836e79e6654fc48a81d089d783cc2a623535316 Fix conflict --- 0836e79e6654fc48a81d089d783cc2a623535316 diff --cc basis/math/functions/functions-docs.factor index fb392191d4,2735fa3903..11f209fb9c --- a/basis/math/functions/functions-docs.factor +++ b/basis/math/functions/functions-docs.factor @@@ -42,24 -47,25 +47,21 @@@ ARTICLE: "arithmetic-functions" "Arithm ARTICLE: "power-functions" "Powers and logarithms" "Squares:" - { $subsection sq } - { $subsection sqrt } + { $subsections sq sqrt } "Exponential and natural logarithm:" - { $subsection exp } - { $subsection cis } - { $subsection log } -{ $subsections - exp - cis - log - log1+ - log10 -} ++{ $subsections exp cis log } +"Other logarithms:" - { $subsection log1+ } - { $subsection log10 } ++{ $subsection log1+ log10 } "Raising a number to a power:" - { $subsection ^ } - { $subsection 10^ } + { $subsections ^ 10^ } "Converting between rectangular and polar form:" - { $subsection abs } - { $subsection absq } - { $subsection arg } - { $subsection >polar } - { $subsection polar> } ; + { $subsections + abs + absq + arg + >polar + polar> + } ; ARTICLE: "trig-hyp-functions" "Trigonometric and hyperbolic functions" "Trigonometric functions:" diff --cc core/combinators/combinators-docs.factor index 5d778ba1e4,b7827c7c2b..c1f797ff2b --- a/core/combinators/combinators-docs.factor +++ b/core/combinators/combinators-docs.factor @@@ -85,16 -81,14 +81,14 @@@ $n } ; ARTICLE: "spread-combinators" "Spread combinators" -"The spread combinators apply multiple quotations to multiple values. The " { $snippet "*" } " suffix signifies spreading." +"The spread combinators apply multiple quotations to multiple values. In this case, " { $snippet "*" } " suffix signify spreading." $nl "Two quotations:" - { $subsection bi* } - { $subsection 2bi* } + { $subsections bi* 2bi* } "Three quotations:" - { $subsection tri* } - { $subsection 2tri* } + { $subsections tri* 2tri* } "An array of quotations:" - { $subsection spread } + { $subsections spread } "Technically, the spread combinators are redundant because they can be simulated using shuffle words and other combinators, and in addition, they do not reduce token counts by much, if at all. However, they can make code more readable by expressing intention and exploiting any inherent symmetry. For example, a piece of code which performs three operations on three related values can be written in one of two ways:" { $code "! First alternative; uses dip"