Commit Graph

304 Commits

Author SHA1 Message Date
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
Bob Williams
c5ef11690e rearranging map keys to prove sort function 2013-09-18 09:13:54 -04:00
Colin Jones
725abe45d5 Merge pull request #54 from dkinzer/Fix-spelling
Fix spelling.
2013-08-03 18:14:10 -07:00
David Kinzer
f9268e81bf Fix spelling. 2013-08-04 00:59:37 +00:00
Colin Jones
f0bdefe972 Improve grammatical flow
refs #51
2013-07-24 19:39:17 -05:00
Colin Jones
6adbead02c Merge pull request #50 from marshallshen/master
add one more problem in function exercise
2013-07-22 10:19:43 -07:00
Marshall Shen
e7f18eb4e6 add answer 2013-07-22 12:10:37 -05:00
Marshall Shen
6fb62d5c79 add one more problem in function exercise 2013-07-22 10:55:09 -05:00
Colin Jones
5e342c81bc Override :main ns for lein repl purposes
Fixes #47
2013-05-03 16:56:11 -05:00
Colin Jones
5207198857 Merge pull request #45 from wishpishh/master
Added missing word in code comments
2013-03-15 15:43:27 -07:00
Hannes Johansson
8cd9d64ad0 Added missing word in comment for koan 11 2013-03-15 23:35:41 +01:00
Colin Jones
dcd056addb Gitignore lein-repl-history 2013-03-04 17:53:16 -06:00
Micah Martin and Colin Jones
559f2e2c58 Take pity and clarify higher-order fns a bit 2013-03-04 17:51:31 -06:00
Micah Martin and Colin Jones
bef513721d Clarify wording in maps 2013-03-04 17:33:46 -06:00
Micah Martin and Colin Jones
28bf698566 Clarify keywords, symbols, maps, sets 2013-03-04 17:30:00 -06:00
Micah Martin and Colin Jones
d275ab804d Leave out vec nil for now 2013-03-04 17:10:04 -06:00
Micah Martin and Colin Jones
bd4bcad22a Add some nil exposition 2013-03-04 17:06:46 -06:00
Micah Martin and Colin Jones
25b2f11247 Clarify empty lists & other list operations 2013-03-04 16:59:01 -06:00
Micah Martin and Colin Jones
2e3fead03f Clarify equalities a bit 2013-03-04 16:45:55 -06:00
Colin Jones
7541c79f83 Merge pull request #43 from manaskarekar/cl-koans-readme
Updated README
2013-03-04 07:13:11 -08:00
Manas Karekar
31425d8a4e Updated README 2013-03-03 23:06:39 -05:00
Colin Jones
ca11a8c684 Bump koan-engine for bugfix
Thanks to Manas Karekar for reporting.
2013-03-03 17:21:35 -06:00
Colin Jones
784ff0166a Update deploy script to get lein1 deps and omit GH 2013-03-02 15:02:02 -06:00
Colin Jones
3d49ddbdb7 Merge pull request #39 from sl4m/clojure-1-5
Updates to Clojure 1.5.0 final
2013-03-02 12:11:13 -08:00
skim
6743cdd347 Updates to Clojure 1.5.0 final 2013-03-02 14:00:10 -06:00
Colin Jones
b13308c334 Merge pull request #38 from paytonrules/master
Some Minor Readme changes
2013-03-01 11:10:13 -08:00
paytonrules
ddf0ed7dac Some slightly less confusing language for lein idiots like me 2013-03-01 13:07:13 -06:00
Colin Jones
ff9fbc98dd Bump to 0.4.7 for line number in message 2013-02-25 21:13:30 -06:00
Colin Jones
7ab93a0c38 Touch up some grammar & wording 2013-02-25 20:46:19 -06:00
Colin Jones
5dcf46a6b4 Merge pull request #36 from blt/patch-1
Correct 'is' to 'are' in koan description.
2013-01-27 07:27:50 -08:00
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.
2013-01-26 19:28:46 -08:00
Colin Jones
26c6609d5d Fix a few description typos 2013-01-05 15:18:45 -06:00
Colin Jones
d0ad8778e0 Merge pull request #35 from MarkyV/patch-1
Update README.md
2012-12-30 22:25:48 -08:00
Mark Veronda
96420a3f5e Update README.md
Make README consistent with the actual file name
2012-12-31 00:53:57 -05:00
Colin Jones
2eb2dfe36a Merge pull request #33 from felipeelias/patch-1
Ignore Leiningen plugins folder
2012-11-10 23:43:25 -08:00
Felipe Elias Philipp
32834d8749 Ignore Leiningen plugins folder
On first time install with `lein deps`, it created lein-plugins folder so, ignoring it.
2012-11-10 15:02:46 +01:00
Colin Jones
1a189605f6 Update README to explain the current lein2 workflow 2012-10-23 09:30:40 -05:00