Merge pull request #933 from hellerve/veit/doc-typo-fix

macros: fix typo in curry* docs
This commit is contained in:
Erik Svedäng 2020-10-12 20:42:12 +02:00 committed by GitHub
commit cd175511fa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 27 deletions

View File

@ -215,13 +215,13 @@
(f x y)))
(doc curry*
"Curry functions of any airity."
"Curry functions of any arity."
""
"```"
"(map (curry* Dynamic.zip + '(1 2 3)) '((4 5) (6)))"
"=> (((+ 1 4) (+ 2 5)) ((+ 1 6)))"
""
"((curry Dynamic.zip cons '(1 2 3)) '((4 5) (6)))"
"((curry* Dynamic.zip cons '(1 2 3)) '((4 5) (6)))"
"=> ((cons 1 (4 5)) (cons (2 (6))))"
""
"(defndynamic add-em-up [x y z] (+ (+ x y) z))"

View File

@ -1416,11 +1416,11 @@ and then to the following argument.</p>
(curry* f :rest args)
</pre>
<p class="doc">
<p>Curry functions of any airity.</p>
<p>Curry functions of any arity.</p>
<pre><code>(map (curry* Dynamic.zip + '(1 2 3)) '((4 5) (6)))
=&gt; (((+ 1 4) (+ 2 5)) ((+ 1 6)))
((curry Dynamic.zip cons '(1 2 3)) '((4 5) (6)))
((curry* Dynamic.zip cons '(1 2 3)) '((4 5) (6)))
=&gt; ((cons 1 (4 5)) (cons (2 (6))))
(defndynamic add-em-up [x y z] (+ (+ x y) z))
@ -2093,29 +2093,6 @@ predicate <code>p</code>.</p>
<p>prints all information associated with a symbol.</p>
<p>Example Usage:</p>
<pre><code>(info mysymbol)
</code></pre>
</p>
</div>
<div class="binder">
<a class="anchor" href="#kind">
<h3 id="kind">
kind
</h3>
</a>
<div class="description">
primitive
</div>
<p class="sig">
Dynamic
</p>
<span>
</span>
<p class="doc">
<p>prints the kind of a symbol.</p>
<p>Example Usage:</p>
<pre><code>(kind mysymbol)
</code></pre>
</p>