Vyacheslav Bikbaev
5247fcfff6
chore: removed trailing whitespaces, added newline at the end of the file
...
Signed-off-by: Vyacheslav Bikbaev <la.sintez@gmail.com >
2018-05-03 22:56:48 +03: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
178bb41361
Use more explicit form of function definition for the time being
2018-02-02 07:55:35 +00:00
Felipe Sere
1a62898883
Move koan about keyword lists as arguments to the function koan
2018-02-02 07:55:14 +00:00
Allan Reyes
054f425100
Fix comma placement
2017-11-24 15:47:37 -08:00
Michal Kwiatkowski
586e5ca0b1
Use more succinct syntax for mapping with String.capitalize.
2017-10-27 09:01:36 +02:00
Daniele Megna
1c5cf730d8
Removed useless 'initial' var
...
@person module attribute can be used instead
2017-09-07 14:31:14 +02: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
33d0892c7a
GenServers swapped lesson position with Protocols
2017-07-19 19:28:57 -05:00
Eric Anderson
3f1eb8f397
Updated password strings
2017-07-17 21:15:50 -05:00
Eric Anderson
c5a332a2f8
Added remaining handlers to the External API
2017-07-15 01:45:33 -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
codefupanda
95e87c3fd8
Fetching values of repeated key in keywordlist
2017-07-11 13:39:54 +05:30
Tim Jarratt
00eb17014a
Move sigils to later in the lessons
...
While doing this, I also discovered that
there is also a reference to lists in numbers, but
that might a bit easier for someone to grasp, given
the hint that the koan gives, and the output they
see when they run it.
2017-04-25 22:38:49 +02:00
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
Travis Truman
0df20b8b41
Correcting some spelling and grammar issues
2017-04-21 09:46:24 -04: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
Tom Gurion
e81db22b87
String.strip is deprecated, replace with String.trim
2017-03-31 23:00:24 +01:00
Felipe Sere
2529a199e8
Just 'nil' might have lived long enough, 'receive' definitly does.
2017-03-31 17:24:40 +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
95a2ed95a6
Fix sorted?/1 implementation
2017-02-19 07:44:45 -06:00
Jay Hayes
4a9800f1f7
Further simplify mapset example with sorted?/1 function
2017-02-19 07:37:57 -06:00
Jay Hayes
5731f8ac3b
Simplify variable names and add space
2017-02-19 07:20:49 -06:00
Jay Hayes
cef72bc0f8
Add comment about "why 33?"
2017-02-19 07:15:23 -06:00
Jay Hayes
ca0151ba0c
Simplify description
2017-02-19 07:14:39 -06:00
Jay Hayes
c08f22b0d2
Extract common value in example
2017-02-19 07:14:33 -06:00
Jay Hayes
84cd227108
whitespace
2017-02-19 07:13:01 -06:00
huyz
0985507d45
Fixed __. Should be ___
2017-02-10 23:50:44 -08:00
huyz
0b1f19accc
Clarify the koan that shows that MapSets are unordered.
2017-02-10 23:43:21 -08:00
Jesse J. Anderson
dafbfa6daa
fix comma placement typo
2017-02-07 22:15:57 -08: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
Stephen Rufle
21a162b80e
Changed to a single line, so its consistent with other sections
2017-01-24 18:34:07 -07: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
Jason Huang
55f59208b2
should call anonymous function with dot
2017-01-24 13:36:42 +08: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
srufle
516be35df9
Demonstrate put_in to manipulate nested struct values
2017-01-22 10:46:51 -07:00