Commit graph

154 commits

Author SHA1 Message Date
Matt Davidson
ab7536f8da Finished koan 17 2022-11-24 20:22:18 +00:00
Matt Davidson
12a5b7aaec Finished koan 16 2022-11-24 20:22:08 +00:00
Matt Davidson
40755feb94 Finished koan 15 2022-11-23 22:39:52 +00:00
Matt Davidson
37bf3d22bf Finished koan 14 2022-11-08 23:37:41 +00:00
Matt Davidson
0d83f43cfd Finished koan 13 2022-11-05 10:27:48 +00:00
Matt Davidson
2bd286b9aa Finished koans 12 2022-11-05 10:20:47 +00:00
Matt Davidson
3e761f927a Finished eleventh koan 2022-11-05 10:07:51 +00:00
Matt Davidson
bbfe379b22 Finished tenth koan 2022-11-05 09:12:52 +00:00
Matt Davidson
5d3aeaaf04 Finished ninths koan 2022-11-05 08:39:21 +00:00
Matt Davidson
2ba2188b76 Finished eighth koan and remove files in gitignore 2022-11-04 23:51:44 +00:00
Matt Davidson
4fe05a81dc Finished seventh koan 2022-11-04 23:35:58 +00:00
Matt Davidson
acdfdcd424 Finished sixth koan 2022-11-04 22:02:26 +00:00
Matt Davidson
762488cb8e Finished fifth koan 2022-11-04 15:43:00 +00:00
Matt Davidson
01be68930b Finished fourth koan 2022-11-04 15:39:14 +00:00
Matt Davidson
86f57e71d4 Finished third koan 2022-11-04 15:11:36 +00:00
Matt Davidson
d6eb655d9b Finish second koan 2022-11-04 13:51:11 +00:00
Matt Davidson
4580850fc3 Finished first koan and some answers for second 2022-11-04 13:42:32 +00:00
Matt Davidson
be34bef6f6 Answers in first koan 2022-11-03 21:48:51 +00:00
Ivan Bilous
3ddfa8c241 Fix grammar 2022-09-17 10:58:07 -05:00
William Vaughn
9ed29b7922 change Giants ballpark from AT&T to Oracle 2022-01-29 16:39:10 -06:00
Nick Reilingh
a9c22921a5 27_multimethods.clj - fixed typo?
The word "do" seems to be missing in the final koan.
2020-07-08 10:10:08 -05:00
neta-kedem
d749795c31 fixing typo
missing c in the word function
2019-12-02 13:48:27 -06:00
neta-kedem
040070bbed text styling
"A multimethod takes one or more arguments" sound better than previous version
2019-12-02 13:48:01 -06:00
Alex Lynham
eb73f39c9e Add some simple examples for multimethods 2019-10-28 16:37:33 -05:00
Spenser Truex
9c115996f9 Fixed whitespace: trailing and indent. 2019-10-28 16:35:08 -05:00
Alex Lynham
3afe01adc7 Address changes to PR adding threading forms 2019-09-23 10:50:43 -05:00
Alex Lynham
ba141d0fc2 Add some examples for threading macros and a couple of simple transducer koans 2019-09-23 10:50:43 -05:00
Colin Jones
809af93e35
Focus the problem and clean up naming in macros
Fixes #134
2018-04-09 10:12:47 -05:00
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
2017-10-09 13:17:12 -05:00
Colin Jones
e74a2664f0
Make it clearer what %2 is about 2017-05-10 08:32:25 -05:00
Sara Inés Calderón
247e5d0351 Spelling fix occurrence (#121)
Updated spelling of "occurrence"
2016-11-29 22:48:54 -06:00
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.
2016-10-26 10:16:11 -05:00
Colin Jones
570fb3b08b
Clean up whitespace a bit 2016-10-06 08:38:28 -05:00
Rafik Naccache
60f1d1ecd3 Maps - add merge-with and map entries as seq 2016-10-06 08:37:18 -05:00
Steve George
a4556887b4 Create a 'merge' test to join maps together. (#113) 2016-09-25 08:36:39 -05:00
Colin Jones
007cbae060
Reverse order of quoting & macros koans
The macros lesson depends on the quoting one.
2016-05-12 10:43:41 -05:00
Colin Jones
6c00a3e358
Improve some of the quote descriptions 2016-05-12 10:41:09 -05:00
qc1iu
bfeaa7cf07
Create quote koan
Covers
- quote
- syntax-quote
- unquote
2016-05-12 10:26:07 -05:00
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.
2016-05-12 10:23:12 -05:00
Pascal Honoré
ed23b910fa Updated description
Thanks to @Strikingwolf for the suggestion!
2016-03-25 21:53:55 +00:00
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.
2016-03-25 18:12:04 +00:00
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.
2016-01-25 16:50:34 -06:00
Colin Jones
ec9d5cd66f Emphasize the leftovers included by partition-all 2016-01-25 16:45:53 -06:00
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.
2016-01-14 20:36:43 -05:00
SuperStevenZ
51176084a4 Update 23_meta.clj
Fixed a spelling mistake:
23_meta.clj 12:18
*succintly* -> succinctly
2015-10-17 08:48:49 -05:00
William Jackson
3e3b2d3a94 Fix mispellings 2015-10-02 18:23:29 -05:00
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?
2015-09-13 01:17:47 -05:00
Striking
7498707bc0 Change file/ns names for everything and add 02_strings 2015-09-13 00:28:39 -05:00
Colin Jones
cba0d3733f Merge remote-tracking branch 'brymaven/meta-koan' 2015-07-20 08:26:42 -05:00
Colin Jones
071e5a215d Merge pull request #94 from ode79/patch-2
Remove extra space in 10_lazy_sequences.clj
2015-07-20 08:25:06 -05:00