mirror of
https://github.com/carp-lang/Carp.git
synced 2024-11-05 04:44:12 +03:00
Merge pull request #933 from hellerve/veit/doc-typo-fix
macros: fix typo in curry* docs
This commit is contained in:
commit
cd175511fa
@ -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))"
|
||||
|
@ -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)))
|
||||
=> (((+ 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))
|
||||
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user