mirror of
https://github.com/carp-lang/Carp.git
synced 2024-09-11 05:25:28 +03:00
Disclaimer.
This commit is contained in:
parent
aa1fad59e9
commit
12ac6c279e
@ -47,6 +47,9 @@ foo ; symbol
|
||||
```
|
||||
|
||||
### Special Forms
|
||||
The following forms can be used in Carp source code and will be compiled to C after type checking
|
||||
and other static analysis. Please note that they can not be executed at the REPL.
|
||||
|
||||
```
|
||||
(def variable-name value) ;; Define a global variable
|
||||
(defn function-name [<arg1> <arg2> ...] <body>) ;; Define a function
|
||||
|
Loading…
Reference in New Issue
Block a user