Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Document ClosedRange limitations

Open
#12 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
55/100
Issue type
Documentation
Clarity
Mostly clear
Activity status
Stale
Tech stack
kotlin, swift
Domain
documentation

Research direction

Start with the Transpilation Reference at https://skip.dev/docs/swiftsupport/, the bridging page at https://skip.dev/docs/bridging/, and the skip-lib README linked in the issue. Document that ClosedRange support is limited, explain the open-range workaround, and ensure the listed Range support matches the actual behavior.

Written by the indexing model from the issue text.

Description

On Slack, @marcprux wrote:

Unfortunately Kotlin doesn't distinguish between open and closed ranges (see https://github.com/skiptools/skip-lib/issues/30 and https://github.com/skiptools/skip-lib/issues/28). So just using open ranges is probably the best workaround. In theory, we could potentially work around this by performing our own conversion from closed ranges into open ranges (for integer values).

But the Transpilation Reference just says:

✓ Range operators

I don't think that's a correct representation of Skip Lite's support for ranges.

https://skip.dev/docs/bridging/ makes no mention at all of ranges.

Even https://github.com/skiptools/skip-lib/blob/main/README.md makes no mention of ClosedRange. It lists an orange dot 🟠 for Range, and lists a few of its most important methods as functional.

Dominant language
MDX
Stars
33
Forks
8
PR merge metrics
No merged PRs in 30d

Getting set up

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.

More from skiptools/skip.dev

All issues in skiptools/skip.dev

Similar issues

More Documentation issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.