Skip to content

Commit 05f6545

Browse files
committed
updating for latest edition
1 parent 5a94c59 commit 05f6545

File tree

300 files changed

+8680
-2199
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

300 files changed

+8680
-2199
lines changed

.gitignore

+3
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,6 @@
77
/snippet-db.properties
88
/snippet-db.script
99
/tmp.clj
10+
lib/*
11+
.lein-failures
12+
classes/*

README.markdown

+15-15
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,24 @@
11
# Sample Code for Programming Clojure
22

3-
http://www.pragprog.com/titles/shcloj/programming-clojure
3+
http://www.pragprog.com/titles/shcloj2/programming-clojure
4+
Copyright 2011 Stuart Halloway and Aaron Bedra. All rights reserved.
45

5-
Copyright 2008-2010 Stuart Halloway. All rights reserved.
6+
# Important Notice
67

7-
# Getting Started
8+
If you are reading the first edition of the book sure you grab the
9+
first-edition branch of this project instead, from
10+
11+
https://github.com/stuarthalloway/programming-clojure/tree/first-edition
812

9-
This (master) branch of the repository has all the files as referenced
10-
from the book Programming Clojure. All the necessary libraries are
11-
already installed. You should be able to start a REPL with:
13+
The first-edition branch has all the files exactly where the book says they
14+
will be.
15+
16+
# Getting Started
1217

13-
* `bin/repl.sh` (Unix, Mac)
14-
* `bin\repl.bat` (Windows)
18+
* Make sure you have Java installed.
19+
* Make sure you have [leiningen](http://github.com/technomancy/leiningen) installed.
20+
* Run `lein deps` to install all the dependent libraries.
21+
* Run `script/repl` to launch a repl.
1522

1623
# Want more Clojure Practice?
1724

@@ -23,10 +30,3 @@ for exploring the Clojure language. It includes:
2330
* an interactive repl for working with the lab exercises
2431
* solutions with passing tests
2532
* up-to-date versions of Clojure, contrib, incanter, compojure and other libraries to explore
26-
27-
# Want Training?
28-
29-
Rich Hickey, the creator of Clojure, and Stuart Halloway, the author
30-
of Programming Clojure, provide Clojure training through the
31-
[Pragmatic Studio](http://pragmaticstudio.com/clojure).
32-

Rakefile

-35
This file was deleted.

bin/reader-tasklist.bat

-1
This file was deleted.

bin/reader-tasklist.sh

-1
This file was deleted.

bin/repl.bat

-1
This file was deleted.

bin/repl.sh

-1
This file was deleted.

bin/runtests.bat

-1
This file was deleted.

bin/runtests.sh

-1
This file was deleted.

bin/snippet-solution.bat

-1
This file was deleted.

bin/snippet-solution.sh

-1
This file was deleted.

bin/snippet.bat

-1
This file was deleted.

bin/snippet.sh

-1
This file was deleted.

bin/tasklist.bat

-1
This file was deleted.

bin/tasklist.sh

-1
This file was deleted.
-1.06 KB
Binary file not shown.
-2.4 KB
Binary file not shown.
Binary file not shown.
-1.86 KB
Binary file not shown.

classes/examples/tasklist.class

2 Bytes
Binary file not shown.

classes/examples/tasklist__init.class

300 Bytes
Binary file not shown.

classes/reader/.gitignore

-1
This file was deleted.

data/.svn/all-wcprops

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
K 25
2+
svn:wc:ra_dav:version-url
3+
V 55
4+
/Bookshelf/!svn/ver/93881/titles/shcloj2/Book/code/data
5+
END

data/.svn/entries

+34
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
10
2+
3+
dir
4+
104723
5+
https://svn.pragprog.com/Bookshelf/titles/shcloj2/Book/code/data
6+
https://svn.pragprog.com/Bookshelf
7+
8+
9+
10+
2011-04-08T17:38:06.087802Z
11+
93881
12+
aaron.bedra
13+
14+
15+
16+
17+
18+
19+
20+
21+
22+
23+
24+
25+
26+
27+
82263e25-b5eb-0310-b4ec-9460fbaf34b7
28+
29+
snippets
30+
dir
31+
32+
sequences
33+
dir
34+

data/sequences/.svn/all-wcprops

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
K 25
2+
svn:wc:ra_dav:version-url
3+
V 65
4+
/Bookshelf/!svn/ver/93730/titles/shcloj2/Book/code/data/sequences
5+
END
6+
compositions.xml
7+
K 25
8+
svn:wc:ra_dav:version-url
9+
V 82
10+
/Bookshelf/!svn/ver/93730/titles/shcloj2/Book/code/data/sequences/compositions.xml
11+
END

data/sequences/.svn/entries

+62
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
10
2+
3+
dir
4+
104723
5+
https://svn.pragprog.com/Bookshelf/titles/shcloj2/Book/code/data/sequences
6+
https://svn.pragprog.com/Bookshelf
7+
8+
9+
10+
2011-04-05T22:43:27.355235Z
11+
93730
12+
aaron.bedra
13+
14+
15+
16+
17+
18+
19+
20+
21+
22+
23+
24+
25+
26+
27+
82263e25-b5eb-0310-b4ec-9460fbaf34b7
28+
29+
compositions.xml
30+
file
31+
32+
33+
34+
35+
2011-05-10T19:19:53.490816Z
36+
88ddfb54c0c4c3d23f5e92987f44572e
37+
2011-04-05T22:43:27.355235Z
38+
93730
39+
aaron.bedra
40+
41+
42+
43+
44+
45+
46+
47+
48+
49+
50+
51+
52+
53+
54+
55+
56+
57+
58+
59+
60+
61+
296
62+

data/sequences/compositions.xml

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
<compositions>
2+
<composition composer="J. S. Bach">
3+
<name>The Art of the Fugue</name>
4+
</composition>
5+
<composition composer="J. S. Bach">
6+
<name>Musical Offering</name>
7+
</composition>
8+
<composition composer="W. A. Mozart">
9+
<name>Requiem</name>
10+
</composition>
11+
</compositions>
12+

data/snippets/.svn/all-wcprops

+47
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
K 25
2+
svn:wc:ra_dav:version-url
3+
V 64
4+
/Bookshelf/!svn/ver/93881/titles/shcloj2/Book/code/data/snippets
5+
END
6+
isBlank.java
7+
K 25
8+
svn:wc:ra_dav:version-url
9+
V 77
10+
/Bookshelf/!svn/ver/93881/titles/shcloj2/Book/code/data/snippets/isBlank.java
11+
END
12+
xml_callback.clj
13+
K 25
14+
svn:wc:ra_dav:version-url
15+
V 81
16+
/Bookshelf/!svn/ver/93730/titles/shcloj2/Book/code/data/snippets/xml_callback.clj
17+
END
18+
Person.java
19+
K 25
20+
svn:wc:ra_dav:version-url
21+
V 76
22+
/Bookshelf/!svn/ver/93737/titles/shcloj2/Book/code/data/snippets/Person.java
23+
END
24+
StringUtils.java
25+
K 25
26+
svn:wc:ra_dav:version-url
27+
V 81
28+
/Bookshelf/!svn/ver/93730/titles/shcloj2/Book/code/data/snippets/StringUtils.java
29+
END
30+
bootstrap-mysql.clj
31+
K 25
32+
svn:wc:ra_dav:version-url
33+
V 84
34+
/Bookshelf/!svn/ver/93730/titles/shcloj2/Book/code/data/snippets/bootstrap-mysql.clj
35+
END
36+
example-build.xml
37+
K 25
38+
svn:wc:ra_dav:version-url
39+
V 82
40+
/Bookshelf/!svn/ver/93730/titles/shcloj2/Book/code/data/snippets/example-build.xml
41+
END
42+
macros.clj
43+
K 25
44+
svn:wc:ra_dav:version-url
45+
V 75
46+
/Bookshelf/!svn/ver/93730/titles/shcloj2/Book/code/data/snippets/macros.clj
47+
END

0 commit comments

Comments
 (0)