racket / racket/htdp

freeze doesn't rewrite arity errors

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

Nobody has claimed this yet.

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

Description

A small thing, from grepping the source for procedure-rename and case-lamba to see how they're handled if used to implement any of the api, since then one can't rely on rewriting : https://github.com/racket/racket/issues/3234 https://github.com/racket/racket/issues/3235 .

Language: Beginning Student; memory limit: 2000 MB.
> (require 2htdp/image) (freeze 1 2)
freeze: arity mismatch;
 the expected number of arguments does not match the given number
  given: 2
  arguments...:
   1
   2

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 Beginning Student example using freeze 1 2, then grep the source for procedure-rename and case-lamba as the issue suggests. Read the linked issues #3234 and #3235 for context; done means arity errors from freeze are rewritten consistently with the other handled cases.

Written by the indexing model from the issue text.

Assessment

Domain
compilers
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.