racket / racket/scribble

Use syntax-span and syntax-position to compute the tail space in a list

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

Nobody has claimed this yet.

good first issue
Dominant language
Racket
Stars
250
Forks
102
Avg merge
11d 11h
Merged PRs (30d)
1

Description

@racketblock[( a   b   cde  )]

is currently rendered as:

( a   b   cde)

The spaces between "cde" and ")" are missing.

One possible fix:

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

Start in scribble-lib/scribble/racket.rkt around line 788 and reproduce the @racketblock example from the issue. Trace the syntax-position and syntax-span values for the whole list and its final element; done means the missing spaces appear before the closing parenthesis.

Written by the indexing model from the issue text.

Assessment

Domain
documentation
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
50/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.