Chunks inside improper lists are not expanded
Open
Nobody has claimed this yet.
- Dominant language
- Racket
- Stars
- 250
- Forks
- 102
- Avg merge
- 11d 11h
- Merged PRs (30d)
- 1
Description
What Racket version are you using?
6.4.0.15
What program did you run?
#lang scribble/lp2
@chunk[<bbb>
1]
@chunk[<*>
'(<bbb> . yyy)]
What was the expected output ?
'(1 . yyy)
What happened instead?
'(<bbb> . yyy)
It seems that scribble traverses only proper lists. #(<bbb> yyy), #&(<bbb> yyy) and #hash([<bbb> . yyy]) do not work either.
It would be nice to have chunks substituted inside all s-expression primitives.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Use the supplied #lang scribble/lp2 example as the entry point and reproduce the improper-list case, then compare it with the vector, box, and hash examples. Done means chunk references are substituted inside improper lists and the other listed s-expression primitives, producing '(1 . yyy) for the example.
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
- 48/100