markusressel / markusressel/py-range-parse

Is it possible to parse a Haskell-like range notation, e.g. [1, 3 .. 9], where the step is given by 3 - 1?

Open
#2 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement question
Dominant language
Python
Stars
2
Forks
2
PR merge metrics
No merged PRs in 30d

Description

The Haskell approach is similar to yours (except by different kinds of limits you offer) but has this small feature of defining the step "inductively".

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue does not name files or tests; start by locating the range-notation parser and the tests covering existing limits and step handling. Add coverage for [1, 3 .. 9] and confirm that the notation derives a step of 2 and produces the expected Python range-like result.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
tooling
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.