214 Commits

Author SHA1 Message Date
Iftakhar Husan
2353ad0d0f Fix failing tests for progress_bar changes 2024-03-01 01:06:30 +02:00
Jay Hayes
9a6999e2f6 Skip a couple warnings 2023-11-10 07:00:43 -06:00
Ahmed Ismail
ca3e758e93 Revert back test/blanks_test.exs to original state 2023-11-10 13:20:17 +05:00
Ahmed Ismail
edf50fdf80 Add credo to the project and:
- Run mix credo --all to identify possible code optimizations
 - Resolve most of the errors generated by credo such as:
   - Numbers larger than 9999 should be written with underscores: 58_127
   - Modules should have a @moduledoc tag
   - Comparison will always return true
2023-11-10 00:57:21 +05:00
João Pinheiro
22dc34096d Reduce needless repetition 2023-07-10 14:08:32 +01:00
Jay Hayes
11601a6945 Split genserver koans back up 2022-02-10 07:57:30 -06:00
Jay Hayes
090187ce88 Set ExUnit timeout for quicker process debugging 2022-02-01 08:07:45 -06:00
Jay Hayes
20927cc1df Combine Laptop Genserver examples to avoid process leaking issue 2022-02-01 08:07:45 -06:00
Jay Hayes
ad5952c7ab Remove extra, unneeded MapSets answer 2022-02-01 08:07:45 -06:00
Jay Hayes
277e43c8dd Fix up test answer values that diverged from example 2022-02-01 08:07:45 -06:00
James Robey
b06951ef9d Fixing mismatch in koan description and assertion 2020-08-18 10:47:45 +07:00
Shashwat Ganesh
f999d6c573 Update the comprehensions test to match the actual koan 2020-06-04 22:55:14 +05:30
Shashwat Ganesh
0681f5df22 Tests should provide valid error parameters 2020-06-04 22:54:18 +05:30
Jay Hayes
1d0cf88521 Remove duplicative koan
This truth is self-evident from the other koans.
2019-04-01 11:56:38 -05:00
Shannon Oram
9ee4cbec48 Modify koans and descriptions 2018-09-02 20:36:25 +10:00
Shannon Oram
10847816d0 Add new koans for comprehensions
Added to partially complete the "Koans for special forms" issue.
https://github.com/elixirkoans/elixir-koans/issues/53
2018-09-02 16:29:47 +10:00
Shannon Oram
38cbc98f81 Add test for new koan 2018-07-12 10:36:12 +10:00
Martino Visintin
b07df7c780 add .formatter.exs + format 2018-05-22 21:46:54 +01:00
Felipe Seré
e8bb66540e Merge pull request #217 from Cohen-Carlisle/reorder-map-set-size
introduce MapSet.size/1 earlier
2018-03-03 14:51:57 +00:00
Cohen Carlisle
dd85c85b65 add modulo koan (Kernel.rem/2) 2018-03-02 12:49:55 -05:00
Cohen Carlisle
3a58b49fe6 remove elementary MapSet.size/1 koan
size is covered under koan "However, I do not allow duplication"
2018-03-02 10:18:25 -05:00
Cohen Carlisle
0111b0451c more number koans 2018-03-01 19:13:45 -05:00
Cohen Carlisle
432988014a introduce MapSet.size/1 earlier
specifically, before it is used to show sets do not have duplicates
2018-03-01 14:00:36 -05:00
Felipe Sere
03c6ddc33b Move pattern matching on structs koan to the later pattern matching module 2018-02-02 08:03:12 +00:00
Felipe Sere
1a62898883 Move koan about keyword lists as arguments to the function koan 2018-02-02 07:55:14 +00:00
Nathan Walker
b32e82b19b Switch over to Elixir option parsing. 2017-07-28 13:03:41 -05:00
Nathan Walker
b2dfc28650 Extract tracker into supervision tree. 2017-07-28 12:56:02 -05:00
Nathan Walker
b71221977c Extract display into supervision tree. 2017-07-28 12:56:02 -05:00
Tom Gurion
588018409d Get lessons order from filenames. Fix #196 2017-07-20 10:01:29 +01:00
Felipe Seré
2fc67561d9 Merge pull request #201 from EricAnderson-AAI/master
Added GenServer Koans
2017-07-20 07:33:51 +01:00
Eric Anderson
3f1eb8f397 Updated password strings 2017-07-17 21:15:50 -05:00
Eric Anderson
8495a48717 Changed GenServer from BicycleLock to Laptop so examples will flow better 2017-07-15 01:33:16 -05:00
Eric Anderson
cb98ca1c52 Renamed start_server/1 to start_link/1 and updated a password. 2017-07-15 00:49:52 -05:00
Eric Anderson
78d0181cce Updated 19_genservers.ex w/code review suggestions and updated genservers_koans_test answer values 2017-07-14 15:51:12 -05:00
Eric Anderson
62ab2b9688 Added GenServer Koans 2017-07-13 14:39:15 -05:00
codefupanda
7a9f04dd45 Added pattern matching koan for keyword list 2017-07-11 22:05:07 +05:30
Tom Gurion
e64394fbaa Add nil example to the atoms koans 2017-04-22 22:59:08 +01:00
Tom Gurion
ca97177b99 Simplify atoms koans. Fix #185 2017-04-22 22:32:29 +01:00
Tom Gurion
1a6449ff1f Remove 'I think I need my number as a char' koan. Fix #176 2017-04-09 10:40:27 +01:00
Tom Gurion
4d667eff61 Add string interpolation koan. Fix #184 2017-04-06 16:36:23 +01:00
Sven Gehring
c708936456 Refactor Koan with slow/fast process example
A combined solution of the examples provided by
@iamvery and myself.
2017-03-22 15:10:21 +01:00
Sven Gehring
2881c95c00 Split koan with race condition into two more logical ones 2017-03-22 10:38:42 +01:00
Jay Hayes
f1fd2a2dad Uncomment 💡 moment about set size 2017-02-19 07:44:59 -06:00
Jay Hayes
4a9800f1f7 Further simplify mapset example with sorted?/1 function 2017-02-19 07:37:57 -06:00
Jay Hayes
ec082f0e72 Fix broken mapset koan test 2017-02-19 07:14:04 -06:00
Jay Hayes
84cd227108 whitespace 2017-02-19 07:13:01 -06:00
Felipe Seré
136e02cafe Merge pull request #162 from srufle/master
Demonstrate put_in to manipulate nested struct values
2017-01-26 20:02:30 +00:00
Jay Hayes
b8d7abe4ea Change definition of anonymous greet
That prevents the confusion of mixing up the anonymous and named
implementations fixed by 55f592.
2017-01-24 08:08:01 -06:00
srufle
55f1648bbd Demonstrate put_in using atoms to manipulate nested values of a nested
Map
2017-01-22 11:15:17 -07:00
srufle
d467985778 Demonstrate update_in to manipulate nested struct values 2017-01-22 11:12:49 -07:00