Commit Graph

516 Commits

Author SHA1 Message Date
Felipe Sere
149cc47195 Cleanup how koan modules get their intros 2016-05-10 23:02:23 +01:00
Felipe Sere
7b494e16df To enable adding the intro, the tracker knows visited modules. 2016-05-10 23:02:23 +01:00
Felipe Seré
c23fca5b29 Merge pull request #106 from iamvery/keyword-list-koan
Keyword list koan
2016-05-10 18:40:16 +01:00
Jay Hayes
1c182a2c8c Remove metaprogramming-related keyword list koans
Too advanced at this point. Will considering including something like
this in #21.
2016-05-10 07:21:13 -05:00
Jay Hayes
27b8926aaa Add keyword lists koan to runner 2016-05-10 07:21:13 -05:00
Jay Hayes
b45a08135a Add keyword lists koan 2016-05-10 07:21:13 -05:00
Jay Hayes
92973a0fb7 Add keyword list koan at after maps 2016-05-10 07:21:13 -05:00
Uku Taht
0cdf59ebc4 Merge pull request #114 from riacataquian/suggestions
Improvements suggestions
2016-05-10 12:41:52 +01:00
Ria Cataquian
bb4959ddc0 Fix some type 2016-05-08 04:16:06 +08:00
Ria Cataquian
97a60b095a Fix failing tests 2016-05-08 03:09:50 +08:00
Ria Cataquian
65756b933d Various suggestion improvements 2016-05-08 02:59:48 +08:00
Uku Taht
d931df84cc Merge pull request #113 from iamvery/typo
Typo in error message
2016-05-06 19:33:25 +01:00
Jay Hayes
7dae31c370 Typo in error message 2016-05-06 13:30:12 -05:00
Felipe Seré
2b8581fbe0 Merge pull request #112 from iamvery/include-atoms-in-run
Forgot to add the koan to the runner, oops
2016-05-06 00:01:36 +01:00
Jay Hayes
440f9bdbc1 Forgot to add the koan to the runner, oops 2016-05-05 17:55:50 -05:00
Uku Taht
02f3020d98 Merge pull request #108 from iamvery/zip-keyword-list
Swap order of zipped lists to create learning opportunity
2016-05-05 23:49:48 +01:00
Jay Hayes
d37df5fa77 Swap order of zipped lists to create learning opportunity
Zipping atoms and numbers creates an opportunity for the learner to
realize "💡 I just made a keyword list!"
2016-05-05 17:48:47 -05:00
Uku Taht
3e163a2bd3 Merge pull request #105 from iamvery/atoms-koan
Atoms koan
2016-05-05 23:38:34 +01:00
Jay Hayes
ad011d80f3 Establish that modules are atoms, then show function call on them 2016-05-05 10:43:17 -05:00
Jay Hayes
948fbddcdf Remove unhelpful example
Not really useful without showing dot access.
2016-05-05 10:42:57 -05:00
Jay Hayes
ee89055af6 Remove commented koans
We can't pull this off right now since answers can't be expressions.
2016-05-05 10:41:57 -05:00
Jay Hayes
7b64bd36e9 Add other lessons that don't work with answer system 2016-05-05 10:41:28 -05:00
Jay Hayes
53fc465c3f Add atom koans 2016-05-05 10:41:28 -05:00
Jay Hayes
52f8ed0d6c Add atoms koan as between strings and tuples 2016-05-05 10:41:28 -05:00
Uku Taht
0a57e38ecb Merge pull request #111 from joneslee85/patch-1
Refactor the comma in List syntax
2016-05-05 11:38:20 +01:00
Uku Taht
964d5fe68d Merge pull request #109 from iamvery/whitespace
Fix whitespace in tasks koan
2016-05-05 11:37:50 +01:00
Uku Taht
85d7cd1540 Merge pull request #110 from iamvery/update-agents-koan
Show explicit example of named agents
2016-05-05 11:37:40 +01:00
Uku Taht
0a5694dcd6 Merge pull request #107 from iamvery/pipe-description
Update description of piping
2016-05-05 11:37:11 +01:00
Trung Lê
c1e3f6a80d Refactor the comma in List syntax 2016-05-05 19:23:25 +10:00
Felipe Seré
386111ba6d Merge pull request #102 from elixirkoans/fix-for-intellij
Strip off IntelliJ specific extension from reloaded files.
2016-05-05 07:48:21 +01:00
Jay Hayes
7711936893 Show explicit example of named agents 2016-05-04 19:57:55 -05:00
Jay Hayes
a2060d6e5b whitespace 2016-05-04 19:41:40 -05:00
Jay Hayes
c9b20bb09a Update description of piping 2016-05-04 19:33:41 -05:00
Felipe Seré
f5af10d87a Merge pull request #104 from snikolau/add-list-wrap-koan
Add wrapping list koan
2016-05-04 23:42:10 +01:00
snikolau
2e21cdf11b Add wrapping list koan 2016-05-04 22:57:05 +01:00
Uku Taht
49efc97b52 Merge pull request #98 from iamvery/process-koans
Rearrange, rm, and add process examples
2016-05-04 22:20:09 +01:00
Uku Taht
50b3d42101 Merge pull request #103 from slavik7/add-meditate-doc
Add meditate shortdoc to display task in mix list
2016-05-04 22:14:21 +01:00
snikolau
983db49c00 Add shortdoc to display task in mix list 2016-05-04 22:12:05 +01:00
Felipe Sere
2f3f117e4a Strip off IntelliJ specific extension from reloaded files. 2016-05-04 21:51:50 +01:00
Jay Hayes
4bf62aa301 Replace explicit kill with linked process
Since the spawned process is linked and each koan is run inside its own
process, it gets killed by association.
2016-05-04 15:32:37 -05:00
Jay Hayes
4710ad1c63 Use parens around spawn calls 2016-05-04 15:29:57 -05:00
Jay Hayes
e4771a46a4 Remove other process killing example
The narrative no longer reads consistently... Just 🔪 it
2016-05-04 15:29:20 -05:00
Jay Hayes
12681f3aa2 Interleave sends and receives 2016-05-04 15:18:16 -05:00
Jay Hayes
6aae32e672 Explain FIFO nature of message in own example 2016-05-04 15:17:52 -05:00
Jay Hayes
75c54e0585 Remove explanation of tail recursion
Curious readers might look it up, so just mention it in passing and let
them focus on the task at hand: handling multiple messages.
2016-05-04 15:13:49 -05:00
Jay Hayes
4e4e35f575 Remove process about killing others 😆 2016-05-04 15:13:35 -05:00
Jay Hayes
f7cced5913 Replace multiple receives with assert_receives
❤️ #101
2016-05-04 15:08:17 -05:00
Jay Hayes
65b9af48b4 Add example of process as state 2016-05-04 15:07:12 -05:00
Jay Hayes
6126d5a836 Add koan illustrating tail recursion 2016-05-04 15:06:57 -05:00
Jay Hayes
1f24de98f4 Rearrange existing koans to paint a clearer picture 2016-05-04 15:06:39 -05:00