racket / racket/scribble

scribble's 'racket' print-converter fails on '(quote)

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

Nobody has claimed this yet.

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

Description

Run this program:

#lang scribble/manual

@racket[(quote)]

I see this error:

racket/racket/collects/racket/private/kw.rkt:1325:47: cadr: contract violation
  expected: (cons/c any/c pair?)
  given: '(#<just-context>)
> 

I believe this should not cause an error. I can imagine this being an easy 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

Run the provided #lang scribble/manual example with @racket[(quote)] and confirm the cadr contract violation in the print-converter path. Trace the error from the reported racket/private/kw.rkt location into Scribble's racket print-converter; done means the example completes without an error and renders the quoted form.

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
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.