racket / racket/htdp

in ASL `(void)` doesn't print as `(void)`

Open
#21 10 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug enhancement
Dominant language
Racket
Stars
112
Forks
73
Avg merge
9h 41m
Merged PRs (30d)
1

Description

This also manifests itself (I think) as whens not printing anything.

Example:

> (void)
> (when false (void))
> (when true (void))
> (define x 0)
> (when true (set! x 1))
(void)
> (when false (set! x 1))
> 

I would expect every line (except the (define x 0)) to print (void).

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

Reproduce the examples in the ASL REPL, focusing on how (void) and when expressions are printed. Trace the relevant ASL evaluation and output path; done means each shown expression except (define x 0) prints (void), including both true and false when cases.

Written by the indexing model from the issue text.

Assessment

Domain
cli
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 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.