Colin Jones
809af93e35
Focus the problem and clean up naming in macros
...
Fixes #134
6 years ago
Colin Jones
7974120ec3
Use an explicit function argument for `iterate`
...
Also replace :hello with "hello" to avoid potential confusion since
:hello is also a function.
refs #75
7 years ago
Colin Jones
e74a2664f0
Make it clearer what %2 is about
7 years ago
Rafik Naccache
60f1d1ecd3
Maps - add merge-with and map entries as seq
8 years ago
Steve George
a4556887b4
Create a 'merge' test to join maps together. ( #113 )
8 years ago
Colin Jones
007cbae060
Reverse order of quoting & macros koans
...
The macros lesson depends on the quoting one.
8 years ago
Colin Jones
6c00a3e358
Improve some of the quote descriptions
8 years ago
qc1iu
bfeaa7cf07
Create quote koan
...
Covers
- quote
- syntax-quote
- unquote
8 years ago
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.
8 years ago
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?
9 years ago
Striking
7498707bc0
Change file/ns names for everything and add 02_strings
9 years ago
Bryant
173dd560d7
Add koan for metadata
9 years ago
Colin Jones
b1ea905c57
Update answer sheet for ClojureBridge-MN changes
9 years ago
Daehyun Kim
b6c2a9c142
fix the answer sheet error on winter olympic-years
9 years ago
Mike Jansen
45ea6e3441
update maps koans with 2018 Olympics
10 years ago
Colin Jones
86a6790ae4
Clean up group-by descriptions & spelling
10 years ago
Takayuki Goto
d6b1b57942
group-by function koan
10 years ago
Colin Jones
f35e258e7f
Update answer key to reflect renaming
10 years ago
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.
10 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`.
10 years ago
Laura Brown
7525df7f1b
update answer key
11 years ago
Marshall Shen
e7f18eb4e6
add answer
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
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
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
Sam Ritchie
337d39684a
Extracted koan logic out into koan-engine.
13 years ago