Skip to content
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

Concept: recursion #692

Open
jiegillet opened this issue May 18, 2024 · 0 comments
Open

Concept: recursion #692

jiegillet opened this issue May 18, 2024 · 0 comments
Labels
x:action/create Work on something from scratch x:knowledge/intermediate Quite a bit of Exercism knowledge required x:module/concept Work on Concepts x:module/concept-exercise Work on Concept Exercises x:priority/high Has a higher priority than other issues x:size/large Large amount of work x:type/content Work on content (e.g. exercises, concepts)

Comments

@jiegillet
Copy link
Contributor

jiegillet commented May 18, 2024

Design

Goal

The Goal is to learn to use recursion and tail call recursion

Learning objectives

Students should be able to

  • understand that it's a fundamental pattern in FP
  • understand that many core functions are built with recursion
  • use recursive functions
  • write a recursive function
  • understand what tail-call recursion is
  • understand that Elm optimizes tail-call recursive functions
  • write a tail-call recursive function

Out of scope

Nothing

Concepts

The concept this exercise unlocks is:

  • recursion

Prerequisites

  • lists
  • pattern matching

Analyzer

  • check that tail call recursion was implemented correctly
  • TBD depending on the exercise

Comments

@jiegillet jiegillet added x:action/create Work on something from scratch x:knowledge/intermediate Quite a bit of Exercism knowledge required x:module/concept Work on Concepts x:module/concept-exercise Work on Concept Exercises x:type/content Work on content (e.g. exercises, concepts) x:size/large Large amount of work x:priority/high Has a higher priority than other issues labels May 18, 2024
@jiegillet jiegillet mentioned this issue Jun 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
x:action/create Work on something from scratch x:knowledge/intermediate Quite a bit of Exercism knowledge required x:module/concept Work on Concepts x:module/concept-exercise Work on Concept Exercises x:priority/high Has a higher priority than other issues x:size/large Large amount of work x:type/content Work on content (e.g. exercises, concepts)
Projects
None yet
Development

No branches or pull requests

1 participant