-
-
Notifications
You must be signed in to change notification settings - Fork 399
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
Implement new Concept Exercise: with
#560
Comments
Hi, I am still learning Elixir and want to help with some issues in the future. But for now, I have just a comment. This Analyzer part that assure students use the correct function could be added in some exercises. Like Strain exercise which it is not supposed to use I don't know if it is already done in the v3. By the way, nice work with the Elixir track. It is really good! |
@ThiagosLima thanks for the comment!! Glad to have you here! Yes, that is the eventual goal to add this functionality to practice exercises at some point too. :) If you want to open an issue in our analyzer repo. Would help us to keep track of that: https://github.com/exercism/elixir-analyzer |
Thanks! @neenjaw that is nice! I didn't know about the analyzer repo haha! Sorry. I will add the issues for the exercises that I saw. |
Howdy! I'm interested in building this exercise out. Is anyone actively working on it? @angelikatyborska |
@jersearls We might have one other person interested but they're only starting to learn how to build concept exercises, so it's unclear. I consider this issue available until a get a draft PR from anyone with at least an example solution ( |
yay, it's me 😄 @jersearls feel free to start working on it since I have to learn a bunch of things in the process you might be faster than me. |
with
with
Closed via #954. |
Getting started
Please please please read the docs before starting. Posting PRs without reading these docs will be a lot more frustrating for you during the review cycle, and exhaust Exercism's maintainers' time. So, before diving into the implementation, please read up on the following documents:
Goal
The goal of this exercise is to teach the student how the
with
special form works and when it is appropriate to use (e.g. to avoid nestedcase
s)Learning objectives
with
to chain matching clauseselse
block inwith
to match on different kinds of errorswith
Out of scope
?
Concepts
with
Prerequisites
errors
(thewith
special form is most commonly used with error/ok-tuples and the exercise should teach that)pattern-matching
Exercises
Maybe
sgf-parsing
could havewith
in its requirements?Resources to refer to
Analyzer
It will be necessary to use the analyzer to check that the
with
form was indeed used, and that no alternatives (e.g.case
s) were used.Help
If you have any questions while implementing the exercise, please post the questions as comments in this issue.
The text was updated successfully, but these errors were encountered: