Commit Graph

332 Commits

Author SHA1 Message Date
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
Colin Jones
b1ea905c57 Update answer sheet for ClojureBridge-MN changes 2015-07-06 07:28:21 -05:00
Colin Jones
37cc4ce04a Merge remote-tracking branch 'clojurebridge-minneapolis/master' 2015-07-06 07:13:05 -05:00
Elena Machkasova
c7df597d8f Merge pull request #5 from tmarble/tmarble/wednesday
Replaced Playground song with Oxford comma
2015-06-24 14:32:12 -05:00
Tom Marble
356844ba0a Replaced Playground song with Oxford comma 2015-06-24 14:11:00 -05:00
Tom Marble
2a619dbe73 cherry pick upstream delta from 6/14/2015 2015-06-24 08:15:45 -05:00
Tom Marble
690f171ccb removed PullRequests.md 2015-06-24 08:01:42 -05:00
Tom Marble
f30feb25fe Merge branch 'friendlier-koans' 2015-06-24 07:58:49 -05:00
Tom Marble
f678ac204d Merge pull request #3 from elenam/master
changed another foo to hello
2015-06-24 07:44:13 -05:00
Tom Marble
260ecd06d8 Merge pull request #4 from tmarble/tmarble/test-local-pr
Tmarble/test local pr
2015-06-22 18:43:22 -05:00
Tom Marble
3df3f8999a Minor typo 2015-06-22 18:40:31 -05:00
Tom Marble
13262d30b3 Added PullRequests.md 2015-06-22 18:38:36 -05:00
Elena Machkasova
6866ccd933 changed another foo to hello 2015-06-14 23:35:01 -05:00