-
-
Notifications
You must be signed in to change notification settings - Fork 553
removes an elixir specific clause that is not necessary #274
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
I don't think this should be removed without substantial input from @exercism/elixir as not allowing |
I dont think, that the exercise will be harder by forbidding Also I do think, if we leave Elixirs Cohen Carlisle [email protected] schrieb am Fr., 17. Juni 2016
|
I agree with @NobbZ, which is why I offer the edit. It seems silly to make an exemption for Elixir specifically when the problem is not really a problem that lends itself to reduction over list construction (cons) and Elixir supports that in its core language functionality. No copy and paste from list-ops is necessary. As a side note, the order of the exercises in the elixir module seem out of order, with the accumulate being an exercise that would be excellent way to introduce recursion earlier in the challenge set. IMHO the bracket push, and sublist problems were much harder and would benefit from more recursion and cons practice highlighted by this exercise. |
👍 I don't think this adds to the difficulty of the exercise. I think it is actually helpful to reinforce that |
Elixir-specific portion added: exercism/exercism#1136 Lisp-specific portion added: exercism/problem-specifications#98 Elixir-specific portion removed because the `Enum.reduce` was not necessary: exercism/problem-specifications#274 It doesn't seem to make much sense to include this Lisp-specific sentence in non-Lisp tracks. exercism/problem-specifications#871
Elixir-specific portion added: exercism/exercism#1136 Lisp-specific portion added: exercism/problem-specifications#98 Elixir-specific portion removed because the `Enum.reduce` was not necessary: exercism/problem-specifications#274 It doesn't seem to make much sense to include this Lisp-specific sentence in non-Lisp tracks. exercism/problem-specifications#871
As shown in the example solution it can be done in Elixir without using a named module, like Enum.reduce. In fact its probably confusing to suggest so.