Tom Marble
c4958a9263
Merge pull request #1 from clojurebridge-minneapolis/brian/fix-koans-2
...
Made conditionals exercises more PC.
9 years ago
Brian Dawn
29aedc3a6a
Made conditionals exercises more novice friendly.
9 years ago
Elena Machkasova
8a5303df8f
replaced "foo" examples with "hello"
...
This is more novice-friendly
9 years ago
Piotr Bzdyl
7f21443d6f
Simplified code.
9 years ago
Mike Jansen
45ea6e3441
update maps koans with 2018 Olympics
10 years ago
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
12 years ago
Micah Martin and Colin Jones
bef513721d
Clarify wording in maps
12 years ago
Micah Martin and Colin Jones
28bf698566
Clarify keywords, symbols, maps, sets
12 years ago
Micah Martin and Colin Jones
d275ab804d
Leave out vec nil for now
12 years ago
Micah Martin and Colin Jones
bd4bcad22a
Add some nil exposition
12 years ago
Micah Martin and Colin Jones
25b2f11247
Clarify empty lists & other list operations
12 years ago
Micah Martin and Colin Jones
2e3fead03f
Clarify equalities a bit
12 years ago
Colin Jones
7ab93a0c38
Touch up some grammar & wording
12 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.
13 years ago
Luke Arno
5627b8d37b
Issue #21 : Go deeper... deeper... in final recursion koan
13 years ago
Aaron Bedra
3cca560b96
Reformatting for consistency
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
fb3f05e2c6
Add first cut at Java interop
13 years ago
Colin Jones
5a5f519fb8
Fix already-passing koans
13 years ago
calebphillips
5060b421c7
Updated example in conditionals that was passing without change.
...
"And in such a situation you may have nothing"
13 years ago
Colin Jones and Mike Jansen
7408b164fc
Add case.
13 years ago
Colin Jones
1dd2e9ca86
Add a recursive list processing example.
13 years ago