118 Commits (c4f708beeb263d022ba8a228299d5a9725ed8432)

Author SHA1 Message Date
Colin Jones 04b3c4a960 Bump koan-engine dependency
Also eliminates some ns forms that we can do without now.

Closes #71
10 years ago
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.
10 years ago
Colin Jones fd3972dd78 Merge pull request #74 from ajmccluskey/21-remove-partial
Remove unnecessary call to partial in second koan
10 years ago
Mike Jansen eaf6cd6f80 fix spacing issue in 05_maps.clj 10 years ago
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.
10 years ago
Gunnlaugur Thor Briem a1e659bc29 Trivial: fix Hawking's first name 11 years ago
Colin Jones 86a6790ae4 Clean up group-by descriptions & spelling 11 years ago
Takayuki Goto d6b1b57942 group-by function koan 11 years ago
Colin Jones f35e258e7f Update answer key to reflect renaming 11 years ago
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.
11 years ago
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`.
11 years ago
Colin Jones 0cf4cd3121 Move herbivore assertions together 11 years ago
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
11 years ago
Chris Cummins 5c27ca25cc Minor grammar fix 11 years ago
Colin Jones 0675850ae7 Merge pull request #61 from drguildo/grammar-fixes
A few grammatical changes.
11 years ago
Simon Morgan 8c0d3f885c A few grammatical changes. 11 years ago
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.
11 years ago
Bob Williams c5ef11690e rearranging map keys to prove sort function 11 years ago
David Kinzer f9268e81bf Fix spelling. 11 years ago
Colin Jones f0bdefe972 Improve grammatical flow
refs #51
11 years ago
Marshall Shen 6fb62d5c79 add one more problem in function exercise 11 years ago
Hannes Johansson 8cd9d64ad0 Added missing word in comment for koan 11 11 years ago
Micah Martin and Colin Jones 559f2e2c58 Take pity and clarify higher-order fns a bit 11 years ago
Micah Martin and Colin Jones bef513721d Clarify wording in maps 11 years ago
Micah Martin and Colin Jones 28bf698566 Clarify keywords, symbols, maps, sets 11 years ago
Micah Martin and Colin Jones d275ab804d Leave out vec nil for now 11 years ago
Micah Martin and Colin Jones bd4bcad22a Add some nil exposition 11 years ago
Micah Martin and Colin Jones 25b2f11247 Clarify empty lists & other list operations 11 years ago
Micah Martin and Colin Jones 2e3fead03f Clarify equalities a bit 11 years ago
Colin Jones 7ab93a0c38 Touch up some grammar & wording 11 years ago
Brian L. Troutwine 567031f48e Correct 'is' to 'are' in koan description.
I don't mean to be That Guy, but it's more correct to use 'are', rather than 'is' when discussing a plural subject.
12 years ago
Colin Jones 26c6609d5d Fix a few description typos 12 years ago
Ignacy Moryc 626f97de8f Add koans for partition function 12 years ago
Colin Jones 78c5704f34 Rename to use underscores instead of dashes
Works fine either way - this is just since underscores are required
in filenames for real projects, so it's something good for folks to
get used to.
12 years ago
Noam Yorav-Raphael d7c093d2c8 Rename koan files to start with a number, to give the learner a feeling of progress. 12 years ago
Colin Jones b83e14359b Fix grammar problem, closes #23
Thanks to @jamieorc for reporting.
12 years ago
Luke Arno 5627b8d37b Issue #21: Go deeper... deeper... in final recursion koan 13 years ago
Sam Ritchie 337d39684a Extracted koan logic out into koan-engine. 13 years ago
Aaron Bedra 3cca560b96 Reformatting for consistency 13 years ago
Colin Jones 652cc6d29c Fix auto-runner for exceptions without causes or messages, fixes #16 13 years ago
Doug South 5e1fe2f23a More idiomatic keywords 13 years ago
Colin Jones ada3d8541f Fix non-failing koan, fixes #14 13 years ago
Colin Jones 0978ffad12 Fix ensure-failing-without-answers, per Caleb Phillips' macro-replacement idea 13 years ago
Colin Jones fb3f05e2c6 Add first cut at Java interop 13 years ago
Colin Jones d7d54f1a08 Remove unnecessary whitespace 13 years ago
Colin Jones da56dd5ae0 Improve docs and output about auto-runner 13 years ago
Colin Jones 21295e2079 Completely remove dependency on return value from meditations 13 years ago
Colin Jones 8e33a43ee8 Catch exceptions that happen before the assertion can be made 13 years ago
Colin Jones 02b00bafd7 Fix runner freezing after first correct koan
Many thanks to Patrick Gombert for finding the bug
13 years ago
Colin Jones e6174d80dc Remove clojure.test dependencies 13 years ago