Commit Graph

344 Commits

Author SHA1 Message Date
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
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
Striking
13d95a4f50 Update clojure version 2015-09-13 00:27:53 -05:00
Colin Jones
11de6bfb07 Update ideaboard based on new metadata koan 2015-07-20 08:39:58 -05:00
Colin Jones
cba0d3733f Merge remote-tracking branch 'brymaven/meta-koan' 2015-07-20 08:26:42 -05:00
Colin Jones
071e5a215d Merge pull request #94 from ode79/patch-2
Remove extra space in 10_lazy_sequences.clj
2015-07-20 08:25:06 -05:00
Colin Jones
391d847146 Merge pull request #93 from ode79/patch-1
Alignment on line in 09_runtime_polymorphism.clj
2015-07-20 08:24:51 -05:00
ode79
fed56b1cdd Extra whitespace in 10_lazy_sequences.clj 2015-07-19 23:55:37 +01:00
ode79
f25c3ef62f Alignment on line in 09_runtime_polymorphism.clj
1 missing space.

Most inconsequential pull request ever :)
2015-07-19 23:41:27 +01:00
Colin Jones
8e846cf07a Merge pull request #92 from Realtin/91-readme-links-to-releases
change download link to releases
2015-07-14 08:38:44 -05:00
realtin
0e74118eb8 change download link to releases 2015-07-14 13:43:50 +02:00
Colin Jones
c4639a2c38 Merge pull request #90 from brymaven/group-by-formatting
Fix grammar and formatting in group by koan
2015-07-12 20:42:37 -05:00
Bryant
93e76cb56a Fix grammar and formatting in group by koan 2015-07-12 17:43:16 -07:00
Bryant
173dd560d7 Add koan for metadata 2015-07-12 17:17:48 -07:00