J. Fernando Sánchez
8ce6e37c49
You have achieved clojure enlightenment. Namaste.
6 years ago
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
Sara Inés Calderón
247e5d0351
Spelling fix occurrence ( #121 )
...
Updated spelling of "occurrence"
8 years ago
Ken Smith
e0d037d529
Correct closing paren for meditations ( #118 )
...
The closing paren for meditations occurred after the second-to-last
koan instead of the last one, so the test on the last one would never
be executed.
8 years ago
Colin Jones
570fb3b08b
Clean up whitespace a bit
8 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
fordjm
4fe86ecc74
Fixed a bug in 14_recursion.clj meditations ( #105 )
...
* Fixes a bug that allows recursive-reverse to return '(1) for the base case.
8 years ago
Pascal Honoré
ed23b910fa
Updated description
...
Thanks to @Strikingwolf for the suggestion!
8 years ago
Pascal Honoré
4d4cb3b93a
First encounter with `nil`
...
In 02_strings.clj, the answer to
(= __ (string/index-of "hello world" "bob"))
is `nil` but `nil` is not obvious for somebody who
never saw it before. This step introduces it.
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
Colin Jones
ec9d5cd66f
Emphasize the leftovers included by partition-all
8 years ago
Michael Perez
d30e324bcd
src/koans/21_partition.clj: correct meditation doc
...
The meditation was misleading because calling `(partition-all 3 (range 5))` returns `((0 1 2) (3 4))` results in sequences having <=3 elements , not strictly less than.
8 years ago
SuperStevenZ
51176084a4
Update 23_meta.clj
...
Fixed a spelling mistake:
23_meta.clj 12:18
*succintly* -> succinctly
9 years ago
William Jackson
3e3b2d3a94
Fix mispellings
9 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
Colin Jones
cba0d3733f
Merge remote-tracking branch 'brymaven/meta-koan'
9 years ago
Colin Jones
071e5a215d
Merge pull request #94 from ode79/patch-2
...
Remove extra space in 10_lazy_sequences.clj
9 years ago
ode79
fed56b1cdd
Extra whitespace in 10_lazy_sequences.clj
9 years ago
ode79
f25c3ef62f
Alignment on line in 09_runtime_polymorphism.clj
...
1 missing space.
Most inconsequential pull request ever :)
9 years ago
Bryant
93e76cb56a
Fix grammar and formatting in group by koan
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
Tom Marble
356844ba0a
Replaced Playground song with Oxford comma
9 years ago
Tom Marble
f30feb25fe
Merge branch 'friendlier-koans'
9 years ago
Tom Marble
f678ac204d
Merge pull request #3 from elenam/master
...
changed another foo to hello
9 years ago
Elena Machkasova
6866ccd933
changed another foo to hello
9 years ago
Tom Marble
54d4b1a999
refer to clojure.set in 04
9 years ago
Tom Marble
6d5b226307
attempt to make koans more inclusive
9 years ago
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
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
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.
10 years ago