COSCUP2020
入門
TR313
歡迎來到 https://hackmd.io/@coscup/2020 共筆
請從這裡開始
Slide
(range 100)
;; output 0 1 2 3 4 ....
(reverse (range 100))
;; output 99 98 97 ...
Clojure 可以直接使用 Java 的 Data Type & Object
(exp-1 exp-2 exp-3 exp-4)
(+ 1 2 3 4)
;; x = 1
;; y = 2
;; more = '(3 4)
;; [] [x] [x y] [x y &more]
;; output 10
(+ 1 (* 2 2) 3)
;; (* 2 2)
;; output 4
;; (+ 1 4 3)
;; output 8
(def symbol doc-string? init?)
(if test then else?)
(do exprs-1
exprs-2
exprs-3
exprs-4
exprs-5
exprs-6)
or
or
By clicking below, you agree to our terms of service.
New to HackMD? Sign up
Syntax | Example | Reference | |
---|---|---|---|
# Header | Header | 基本排版 | |
- Unordered List |
|
||
1. Ordered List |
|
||
- [ ] Todo List |
|
||
> Blockquote | Blockquote |
||
**Bold font** | Bold font | ||
*Italics font* | Italics font | ||
~~Strikethrough~~ | |||
19^th^ | 19th | ||
H~2~O | H2O | ||
++Inserted text++ | Inserted text | ||
==Marked text== | Marked text | ||
[link text](https:// "title") | Link | ||
 | Image | ||
`Code` | Code |
在筆記中貼入程式碼 | |
```javascript var i = 0; ``` |
|
||
:smile: | ![]() |
Emoji list | |
{%youtube youtube_id %} | Externals | ||
$L^aT_eX$ | LaTeX | ||
:::info This is a alert area. ::: |
This is a alert area. |
On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?
Please give us some advice and help us improve HackMD.
Do you want to remove this version name and description?
Syncing