mirror of
https://github.com/carp-lang/Carp.git
synced 2024-09-11 05:25:28 +03:00
docstring for cond
This commit is contained in:
parent
797133e950
commit
22adeba664
@ -70,7 +70,12 @@ foo ; symbol
|
||||
```
|
||||
|
||||
### Conditional statements with 'cond'
|
||||
The ```cond``` statement executes a block of code if a specified condition is true. If the condition is false, another block of code can be executed. Examples are given below:
|
||||
```(doc cond "this is the documentation for cond")```
|
||||
The ```cond``` statement executes a block of code if a specified condition is true. If the condition is false, another block of code can be executed.
|
||||
|
||||
```(doc cond "this is the documentation for cond")```
|
||||
|
||||
Examples are given below:
|
||||
|
||||
```clojure
|
||||
(defndynamic cond-internal [xs]
|
||||
|
Loading…
Reference in New Issue
Block a user