Implement new Concept Exercise: dynamic-dispatch
#558
Labels
concept-exercise
Adding or improving a concept exercise
help wanted 🤝
v3
Related to Exercism v3
x:action/create
Work on something from scratch
x:knowledge/intermediate
Quite a bit of Exercism knowledge required
x:module/concept-exercise
Work on Concept Exercises
x:size/large
Large amount of work
x:type/content
Work on content (e.g. exercises, concepts)
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 replace
rpn-calculator-output
as the exercise that teaches dynamic dispatch (https://elixir-lang.org/getting-started/typespecs-and-behaviours.html#dynamic-dispatch).rpn-calculator-output
should be modified to depend ondynamic-dispatch
instead of teaching it. Make sure to reuse part of that exercise's introduction.Learning objectives
apply
Out of scope
?
Concepts
dynamic-dispatch
Prerequisites
Depends on the story.
Exercises
Add
dynamic-dispatch
as a prerequisite offorth
.Resources to refer to
https://elixir-lang.org/getting-started/typespecs-and-behaviours.html#dynamic-dispatch
Implementing
Since dynamic dispatch depends on the existence of a few modules with the same function, we might want to provide that in the boilerplate instead of having the student implement those too.
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: