eval:alts should allow escape within eval datum

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

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
55/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Domain
documentation

Research direction

Start by reproducing the two eval:alts examples from the issue, then locate the implementation of eval:alts in Scribble. Update the behavior so escaping is accepted in the eval datum as well as the show datum, and verify that both examples work.

Written by the indexing model from the issue text.

Description

eval:alts currently only allows escaping within the "show" datum and not the "eval" datum, but it is useful to be able to programmatically construct the eval datum too and so I think it makes sense to allow escaping there.

#lang racket/base
(require scribble/example)
(examples (eval:alts #,(add1 1) 2)) ; allowed
(examples (eval:alts 2 #,(add1 1))) ; not allowed
Dominant language
Racket
Stars
250
Forks
102
Avg merge
11d 11h
Merged PRs (30d)
1

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.

More from racket/scribble

All issues in racket/scribble

Similar issues

More Documentation issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.