Skip to content

Commit 5083391

Browse files
Refactor Klipse curriculum to Clojure essentials
1 parent 76bf52e commit 5083391

File tree

1 file changed

+8
-18
lines changed

1 file changed

+8
-18
lines changed

clojure-essentials.md

Lines changed: 8 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
# Using this workshop
1+
# Clojure Essentials
22

3-
A quick guide to using this workshop.
3+
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.
44

55

6-
## Navigating the workshop
6+
### Navigating the workshop
77

88
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).
99

@@ -12,7 +12,7 @@ The pages in the workshop can be navigated using the left-hand menu. To move a
1212

1313
### Evaluating Clojure
1414

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.
1616

1717

1818
```eval-clojure
@@ -22,29 +22,21 @@ You can try out Clojure code directly in the pages of this workshop. The code b
2222
(live-evaluation "awesomenessness")
2323
```
2424

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-
3225
### Exercises
3326

3427
Exercises are denoted by using the Note [callout plugin](https://www.npmjs.com/package/gitbook-plugin-callouts) for gitbook. Exercises look like:
3528

3629
> #### Note::Create a Clojure project
3730
> Use the Leiningen tool to create a project called **clojure-is-awesomenessness**
3831
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-
4132

4233
### Answers
4334

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.
4436

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:
4638

47-
<!--sec data-title="Suggested answer. Press arrow button to reveal" data-id="answer001" data-collapse=true ces-->
39+
<!--sec data-title="Suggested answer. Press the button to reveal" data-id="answer001" data-collapse=true ces-->
4840

4941
```clj
5042
(defn who-has-the-answer [name])
@@ -54,8 +46,6 @@ Suggested answers are included directly in the workshop in hidden sections. An
5446
```
5547
Cultural reference to an [award winning TV advertisement](https://www.youtube.com/watch?v=UA5aLfM9N0E) in 1984 that was created using computer graphics.
5648

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 :)
5850

5951
<!--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

Comments
 (0)