Commit graph

356 commits

Author SHA1 Message Date
frankiezdh
37fcf648ec 完成第7章 2017-11-23 14:25:02 +08:00
frankiezdh
3436b55776
Merge branch 'master' into master 2017-11-23 14:15:20 +08:00
Colin Jones
faa02b5fae
Bump lein-koan dependency 2017-10-24 11:22:42 -05:00
Colin Jones
ad5c0e6081
Bump koan-engine to remove old jline 2017-10-24 11:13:26 -05:00
Colin Jones
7974120ec3
Use an explicit function argument for iterate
Also replace :hello with "hello" to avoid potential confusion since
:hello is also a function.

refs #75
2017-10-09 13:17:12 -05:00
Colin Jones
e74a2664f0
Make it clearer what %2 is about 2017-05-10 08:32:25 -05:00
Colin Jones
9b3efbb026
Remove presumptuous "easy", "just", "simple" 2017-05-05 07:54:11 -05:00
Colin Jones
0e31a9daeb
Modernize & simplify README 2017-05-03 15:27:23 -05:00
徐国方
9030d4ac2f finish chapter 9 2017-03-11 19:32:16 +08:00
徐国方
23d7980a12 finish chapter 8 2017-03-11 09:51:42 +08:00
徐国方
1e799e3f5a fix bug 2017-03-11 09:43:25 +08:00
徐国方
d1eb5bdaa3 inish chapter 7 2017-03-06 11:32:06 +08:00
徐国方
bd7d8c642f inish chapter 6 2017-03-06 11:25:47 +08:00
徐国方
2f8daafeda inish chapter 5 2017-03-06 11:18:32 +08:00
徐国方
8ed5983750 inish chapter 44 2017-03-06 11:14:01 +08:00
frankiezddhh
2d64120f1c finish chapter 3 2017-02-22 15:22:48 +08:00
frankiezddhh
48011f3f30 finish chapter 2 2017-02-21 15:35:56 +08:00
frankiezddhh
3d53da9258 finish charpter 1 2017-02-21 15:10:39 +08:00
Colin Jones
6fc09456ac
Organize README installation/running options 2017-02-10 09:02:31 -06:00
Colin Jones
d59a8c4659
Merge remote-tracking branch 'origin/pr/119' 2017-02-10 09:02:20 -06:00
Colin Jones
ca192bfd83
Add note about running from a REPL
h/t to Josko (via email) for the documentation request
2017-02-07 12:21:40 -06:00
Jeroen De Dauw
a3fb3b5bc8 Added Vagrant support (#123)
This makes installation easier, esp for those that do not know
the toolchain.
2017-02-07 12:19:25 -06:00
Sara Inés Calderón
247e5d0351 Spelling fix occurrence (#121)
Updated spelling of "occurrence"
2016-11-29 22:48:54 -06:00
Fernando Pradas
009a0bd657 Add Docker information in README 2016-11-12 22:24:45 +01:00
Ken Smith
e0d037d529 Correct closing paren for meditations (#118)
The closing paren for meditations occurred after the second-to-last
koan instead of the last one, so the test on the last one would never
be executed.
2016-10-26 10:16:11 -05:00
Colin Jones
570fb3b08b
Clean up whitespace a bit 2016-10-06 08:38:28 -05:00
Rafik Naccache
60f1d1ecd3 Maps - add merge-with and map entries as seq 2016-10-06 08:37:18 -05:00
Steve George
a4556887b4 Create a 'merge' test to join maps together. (#113) 2016-09-25 08:36:39 -05:00
Colin Jones
b31227c0a8
Prefer profiles.clj :repl-options/:init to ours 2016-05-23 11:17:31 -05:00
Colin Jones
007cbae060
Reverse order of quoting & macros koans
The macros lesson depends on the quoting one.
2016-05-12 10:43:41 -05:00
Colin Jones
6c00a3e358
Improve some of the quote descriptions 2016-05-12 10:41:09 -05:00
qc1iu
bfeaa7cf07
Create quote koan
Covers
- quote
- syntax-quote
- unquote
2016-05-12 10:26:07 -05:00
fordjm
4fe86ecc74 Fixed a bug in 14_recursion.clj meditations (#105)
* Fixes a bug that allows recursive-reverse to return '(1) for the base case.
2016-05-12 10:23:12 -05:00
Colin Jones
e8526b704c Merge pull request #107 from shtukas/introducing-nil
First encounter with `nil`
2016-05-12 10:22:21 -05:00
Pascal Honoré
ed23b910fa Updated description
Thanks to @Strikingwolf for the suggestion!
2016-03-25 21:53:55 +00:00
Pascal Honoré
4d4cb3b93a First encounter with nil
In 02_strings.clj, the answer to

   (= __ (string/index-of "hello world" "bob"))

is `nil` but `nil` is not obvious for somebody who
never saw it before. This step introduces it.
2016-03-25 18:12:04 +00:00
Damian Niemczyk
a8fe71e26f Update java string methods to clojure functions
With Clojure 1.8.0 finally those string methods now have corresponding
Clojure functions.

Of note here is that the clojure.string/index-of function responds
with nil if nothing is found and not -1 as .IndexOf previously did.
2016-01-25 16:50:34 -06:00
Damian Niemczyk
52fe0cd615 Update clojure version 2016-01-25 16:48:48 -06:00
Colin Jones
ec9d5cd66f Emphasize the leftovers included by partition-all 2016-01-25 16:45:53 -06:00
Michael Perez
d30e324bcd src/koans/21_partition.clj: correct meditation doc
The meditation was misleading because calling `(partition-all 3 (range 5))` returns `((0 1 2) (3 4))` results in sequences having <=3 elements , not strictly less than.
2016-01-14 20:36:43 -05:00
Colin Jones
50f942cf7d Add a few more ideas 2016-01-13 20:27:08 -06:00
Colin Jones
44f37b5c16 Merge pull request #100 from SuperStevenZ/master
Update 23_meta.clj
2015-10-18 10:12:31 -05:00
SuperStevenZ
51176084a4 Update 23_meta.clj
Fixed a spelling mistake:
23_meta.clj 12:18
*succintly* -> succinctly
2015-10-17 08:48:49 -05:00
Colin Jones
b64b17fc51 Merge pull request #97 from Strikingwolf/string-koan
String koan
2015-10-02 19:08:41 -05:00
William Jackson
3e3b2d3a94 Fix mispellings 2015-10-02 18:23:29 -05:00
William Jackson
4c3ab6f57a Remove duplicates 2015-10-02 18:21:18 -05:00
Striking
6def6d2392 Update ideaboard 2015-09-13 01:21:15 -05:00
Striking
5a836be75c Create the meditations of a string koan
Covers
* String creation
* String concatenation
* Counting strings characters and getting them
* Difference between chars and strings
* Substrings
* string/join w/ and w/o separators
* string/split-lines
* .indexOf and .lastIndexOf
* string/trim
* char? and string?
* blank?
2015-09-13 01:17:47 -05:00
Striking
e2a9f9556b Add more to .gitignore 2015-09-13 00:42:18 -05:00
Striking
7498707bc0 Change file/ns names for everything and add 02_strings 2015-09-13 00:28:39 -05:00