-
-
Notifications
You must be signed in to change notification settings - Fork 226
/
Copy pathnotebook2.clj
79 lines (53 loc) · 1002 Bytes
/
notebook2.clj
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
(ns notebook)
"string1" "string2"
;; A line comment
;; block
(def hover-map
{:stuff "in-here"
:ohter "yeah"
;; Yada yada
:deeper {:a 1, "foo" :bar, [1 2 3] (vec (range 2000))}})
;; Foo
;; Line comment, line 1
;;
;; Line comment, line 2
(defn foo []
(println "bar"))
(foo)
;; A line comment
hover-map
"<html> <body>testing<h2>HTML Image</h2><img src='https://raw.githubusercontent.com/BetterThanTomorrow/calva/dev/assets/calva-64h.png'><iframe width='560' height='315' src='https://www.youtube.com/embed/dQw4w9WgXcQ' title='YouTube video player' frameborder='0' allow='accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture' allowfullscreen></iframe></body></html>"
; foo
(comment
(+ 40 2)
42
42/1
"forty-two")
(def forty-two
(+
40
1
1))
; c3
;c4
"one"
;c5
"two"
;c6
"three"
;c7
"four"
;c8
:five
;c9
six
:seven
"eight"
nine
ten :eleven "twelve"
; c10
:thirteen
"fourteen"
;c11
;c12
:fifteen "sixteen" seventeen