Commit Graph

340 Commits

Author SHA1 Message Date
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
Tom Marble
54d4b1a999 refer to clojure.set in 04 2015-06-14 21:38:41 -05:00
Tom Marble
6d5b226307 attempt to make koans more inclusive 2015-06-14 21:06:04 -05:00
Tom Marble
c4958a9263 Merge pull request #1 from clojurebridge-minneapolis/brian/fix-koans-2
Made conditionals exercises more PC.
2015-06-14 20:56:50 -05:00
Tom Marble
8297fc8b69 Merge pull request #2 from elenam/patch-1
replaced "foo" examples with "hello"
2015-06-14 20:56:43 -05:00
Colin Jones
614562b053 Merge pull request #85 from hatemogi/master
fix an error on the answer sheet
2015-06-14 17:26:16 -05:00
Daehyun Kim
b6c2a9c142 fix the answer sheet error on winter olympic-years 2015-06-15 03:02:12 +09:00
Brian Dawn
29aedc3a6a Made conditionals exercises more novice friendly. 2015-06-14 11:15:40 -05:00
Elena Machkasova
8a5303df8f replaced "foo" examples with "hello"
This is more novice-friendly
2015-06-14 11:11:39 -05:00
Colin Jones
3ddfe960b0 Merge pull request #82 from pbzdyl/patch-1
Simplified code.
2015-03-03 13:32:42 -06:00
Piotr Bzdyl
7f21443d6f Simplified code. 2015-03-03 20:12:17 +01:00
Colin Jones
ea8922daf1 Merge pull request #81 from mjansen401/master
update maps koans with 2018 Olympics
2014-12-06 13:40:27 -06:00
Mike Jansen
45ea6e3441 update maps koans with 2018 Olympics 2014-11-26 16:19:04 -06:00
Colin Jones
2c524896c9 Bump to SNAPSHOT for next iteration 2014-10-09 08:34:13 -05:00
Colin Jones
c4f708beeb Bump to 0.5.0 2014-10-09 08:31:38 -05:00
Colin Jones
c40309235d Add leading do to :init
This shouldn't be necessary; this is just a quickfix.
2014-06-27 14:10:05 -05:00
Colin Jones
b987ae9e5a Add random runner 2014-06-13 14:34:38 -05:00
Colin Jones
04b3c4a960 Bump koan-engine dependency
Also eliminates some ns forms that we can do without now.

Closes #71
2014-05-02 16:39:13 -05:00
David Kinzer
711925a043 Add name-spaces to the clojure koans files.
This commit adds two name-spaces to beginning of the clojure koan files
in order to fix an issue both #68 and #69.
2014-05-02 16:38:17 -05:00
Colin Jones
fd3972dd78 Merge pull request #74 from ajmccluskey/21-remove-partial
Remove unnecessary call to partial in second koan
2014-04-25 14:31:13 -05:00
Colin Jones
aec2d28748 Merge pull request #76 from mjansen401/master
fix spacing issue in 05_maps.clj
2014-04-25 14:30:16 -05:00
Mike Jansen
eaf6cd6f80 fix spacing issue in 05_maps.clj 2014-04-25 14:11:18 -05:00
Andrew McCluskey
569aa5e85b Remove unnecessary call to partial in second koan
juxt returns a function that takes a variable number of arguments, so a
partial taking one argument does not need to be created.
2014-03-19 21:59:40 +07:00
Colin Jones
c7bd27047a Bump koan-engine for doc/code alternation check 2014-02-23 21:13:11 -06:00
Colin Jones
645a5f820b Merge pull request #70 from gthb/patch-1
Trivial: fix Hawking's first name
2014-01-27 04:39:10 -08:00
Gunnlaugur Thor Briem
a1e659bc29 Trivial: fix Hawking's first name 2014-01-27 09:52:03 +00:00
Colin Jones
00b7e7c69f Discourage lein 1 use 2014-01-21 09:02:35 -06:00
Colin Jones
72af893f8f Remove group-by since that's been covered 2014-01-21 08:35:54 -06:00
Colin Jones
86a6790ae4 Clean up group-by descriptions & spelling 2014-01-21 08:09:02 -06:00
Takayuki Goto
d6b1b57942 group-by function koan 2014-01-21 08:08:26 -06:00
Colin Jones
f35e258e7f Update answer key to reflect renaming 2014-01-21 07:43:05 -06:00
Kyle VanderBeek
e96ccc4494 Switch variable from index to x to avoid confusing syntax highlightig.
index is a clojure.set function and ended up highlighted for me, sending me
down a rabbit hole of confusion. Avoid this with a more generic variable name
consistent with other Koan files.
2014-01-21 07:35:12 -06:00
Attila Domokos
660998a79d The answer file's expression returns the argument provided
Although the answer's file entry worked, it ignored the provided
argument. With this change it returns what was passed to it.  I branched
from master, I hope it can be merged it in.
2014-01-21 07:30:06 -06:00
Attila Domokos
68dcde939e Make if-not example clearer, fix the answer keys
I felt the example wasn't very clear as the conditional returned the
quoted form of `doom` when it evaluated to true or false. This way the
user needs to find a value that satisfies the if-not conditional so it
returns `doom` and not `more-doom`.
2014-01-21 07:23:03 -06:00
Colin Jones
0cf4cd3121 Move herbivore assertions together 2014-01-21 07:14:27 -06:00
Tobias Pfeiffer
92c7f8b2f0 Added one test to the polymorph suite (test name usage)
* added one tests that verifies that the diet function also
  accesses the name value of the map (before it was possible
  to just return "Bambi eats veggies." for the herbivore diet
* since this is not the main purpose of these specs added just
  this one and not extra specs for default/carnivore as I didn't
  want to bloat it, but could add those as well if desired
2014-01-21 07:14:18 -06:00
Colin Jones
40505491f8 Merge pull request #66 from ChrisCummins/grammar-fix
Minor grammar fix
2014-01-09 03:36:11 -08:00
Chris Cummins
5c27ca25cc Minor grammar fix 2014-01-09 01:14:08 +00:00
Colin Jones
0675850ae7 Merge pull request #61 from drguildo/grammar-fixes
A few grammatical changes.
2013-11-18 10:44:34 -08:00
Simon Morgan
8c0d3f885c A few grammatical changes. 2013-11-18 17:29:13 +00:00
Laura Brown
7525df7f1b update answer key 2013-09-18 08:45:07 -05:00
Laura Brown
f60275e6e4 Update 05_maps.clj
"Often you will need to get the keys, but the order is undependable"
The keys value pairs are already ordered by key. Why not make the original map un-ordered to force the user to think about sorting them?

"You can get the values in a similar way"
Two of the three values are already provided in the answer, the answer to this challenge can be arrived at by providing the missing one through process of elimination without thinking about sorting.
2013-09-18 08:45:07 -05:00
Colin Jones
7718ae4d26 Merge pull request #57 from bobwilliams/master
rearranging map keys to prove sort function
2013-09-18 06:40:33 -07:00