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

[v3] Implement new Concept Exercise: Ranges #413

Open
wneumann opened this issue Aug 22, 2020 · 0 comments
Open

[v3] Implement new Concept Exercise: Ranges #413

wneumann opened this issue Aug 22, 2020 · 0 comments

Comments

@wneumann
Copy link
Contributor

This issue describes how to implement the Ranges concept exercise for the Swift track.

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 the following documents:

Please also watch the following video:

Goal

This concept exercise should convey a basic understanding of how to Ranges and ClosedRanges in Swift.

Learning objective

  • Know how to create a Range
  • Know how to create a ClosedRange
  • Know the difference between Range and ClosedRange
  • Know how to pattern match Ranges
  • Know that Ranges can be used with types other than Int and what, e.g. a ClosedRange<String> means.
  • Know how to iterate over a Strideable Range (perhaps just talk about Ints and not bring up Strideable`)

Out of scope

  • Mapping, filtering, reducing, etc.
  • Strideable protocol

Concepts

  • Range
  • ClosedRange

Prerequisites

  • conditionals
  • numbers
  • strings-and-characters

Resources to refer to

Hints

After

Representer

TBD

Analyzer

TBD

Implementing

See the Swift track implementation guide for guidance.

##Help

If you have any questions while implementing the exercise, please post the questions as comments in this issue.

##Edits

@nicolechalmers nicolechalmers changed the title [Swift] Implement new Concept Exercise: Ranges [v3] Implement new Concept Exercise: Ranges Jan 28, 2021
@nicolechalmers nicolechalmers transferred this issue from exercism/v3 Jan 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant