You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This learning path will teach you some of the essentials of the Clojure programming language. You do not need to install any Clojure tools to use it, however, you may want to copy your code examples into an editor.
4
4
5
5
6
-
## Navigating the workshop
6
+
###Navigating the workshop
7
7
8
8
The pages in the workshop can be navigated using the left-hand menu. To move a page forwards or backwards use the right or left arrow keys, or press the arrows at the side of each page (or bottom of the page if on a small display).
9
9
@@ -12,7 +12,7 @@ The pages in the workshop can be navigated using the left-hand menu. To move a
12
12
13
13
### Evaluating Clojure
14
14
15
-
You can try out Clojure code directly in the pages of this workshop. The code boxes below allow you to edit the code in the top of the box, with the results evaluated automatically and updated in the results in the bottom of the box.
15
+
Code can be written directly in the pages of this workshop. The code boxes below allow you to edit the code in the top of the box, with the results evaluated automatically and updated in the results in the bottom of the box.
16
16
17
17
18
18
```eval-clojure
@@ -22,29 +22,21 @@ You can try out Clojure code directly in the pages of this workshop. The code b
22
22
(live-evaluation "awesomenessness")
23
23
```
24
24
25
-
These code boxes are powered by a ClojureScript library called [Klipse]().
26
-
27
-
> #### Hint::Klipse Hints
28
-
> Alternatively you may use [Klipse as a stand-alone editor](http://app.klipse.tech/?eval_only=1) or as [a stand-alone editor with Javascript output](http://app.klipse.tech/)
29
-
>
30
-
> Klipse can evaluate code from a public [Github Gists](https://gist.github.com/)
31
-
32
25
### Exercises
33
26
34
27
Exercises are denoted by using the Note [callout plugin](https://www.npmjs.com/package/gitbook-plugin-callouts) for gitbook. Exercises look like:
35
28
36
29
> #### Note::Create a Clojure project
37
30
> Use the Leiningen tool to create a project called **clojure-is-awesomenessness**
38
31
39
-
There are other [callout](https://www.npmjs.com/package/gitbook-plugin-callouts) styles available, including: Info, Hint, Warning, Tag, Comment, Success, Caution, Quote and Danger.
40
-
41
32
42
33
### Answers
43
34
35
+
Suggested answers are included directly in the workshop in hidden sections. To get the most out of the workshop you should try to solve the answers first and try several alternative approaches to solving each exercise.
44
36
45
-
Suggested answers are included directly in the workshop in hidden sections. An example of an answer in a hidden section is as follows:
37
+
An example of an answer in a hidden section is as follows:
<!--sec data-title="Suggested answer. Press the button to reveal" data-id="answer001" data-collapse=true ces-->
48
40
49
41
```clj
50
42
(defnwho-has-the-answer [name])
@@ -54,8 +46,6 @@ Suggested answers are included directly in the workshop in hidden sections. An
54
46
```
55
47
Cultural reference to an [award winning TV advertisement](https://www.youtube.com/watch?v=UA5aLfM9N0E) in 1984 that was created using computer graphics.
56
48
57
-
We do not endorse that anyone has all the answers :)
49
+
We do not endorse smarties or suggest that anyone has all the answers :)
58
50
59
51
<!--endsec-->
60
-
61
-
To get the most out of the workshop you should try to solve the answers first and try several alternative approaches to solving each exercise.
0 commit comments