# \#question

**URL:** https://racket.discourse.group/tag/question/2.md

[Latest](https://racket.discourse.group/latest.md) · [Categories](https://racket.discourse.group/categories.md) · [Tags](https://racket.discourse.group/tags.md)

---

## [Thunk vs. lambda and doc confusion](https://racket.discourse.group/t/thunk-vs-lambda-and-doc-confusion/4388)

<div class="topic-metadata">

**Author:** [@gbellinoz](https://racket.discourse.group/u/gbellinoz)\
**Replies:** 13\
**Last updated:** [September 16, 2026, 11:56pm UTC](https://racket.discourse.group/t/thunk-vs-lambda-and-doc-confusion/4388 "2026-09-16T23:56:51Z")

</div>

Hi team, The Thunk glossary entry has a second example that is supposedly turning a function into a thunk, yet it uses the lambda keyword! But thunks exist as a keyword, so why use lambda? Am I missing something, or i…

---

## [CLI argument parser for Rhombus](https://racket.discourse.group/t/cli-argument-parser-for-rhombus/4386)

<div class="topic-metadata">

**Author:** [@halloleo](https://racket.discourse.group/u/halloleo)\
**Replies:** 1\
**Last updated:** [September 15, 2026, 3:58pm UTC](https://racket.discourse.group/t/cli-argument-parser-for-rhombus/4386 "2026-09-15T15:58:28Z")

</div>

I want to write a small CLI program in Rhombus. Does Rhombus have a CLI argument parser which can generate a help text and validate options and positional arguments? Many thanks for any help in advance.

---

## [How to require a submodule made with module\*?](https://racket.discourse.group/t/how-to-require-a-submodule-made-with-module/4380)

<div class="topic-metadata">

**Author:** [@joskoot](https://racket.discourse.group/u/joskoot)\
**Replies:** 3\
**Last updated:** [September 13, 2026, 8:09pm UTC](https://racket.discourse.group/t/how-to-require-a-submodule-made-with-module/4380 "2026-09-13T20:09:24Z")

</div>

trying to require a submodule made with module\* I get the following error: require: unknown module module name: (submod 'anonymous-module\[2096977\] aap) I have tried some variations on the line marked with \<---, but no…

---

## [What do I need the Drawing Context for?](https://racket.discourse.group/t/what-do-i-need-the-drawing-context-for/4369)

<div class="topic-metadata">

**Author:** [@halloleo](https://racket.discourse.group/u/halloleo)\
**Replies:** 2\
**Last updated:** [September 3, 2026, 12:33pm UTC](https://racket.discourse.group/t/what-do-i-need-the-drawing-context-for/4369 "2026-09-03T12:33:00Z")

</div>

New here - and new to Rhombus! Via the pict module I generate little pictures. In the REPL they are displayed immediately. Now I try to write the pictures to a file, so that I can run the Rhombus program from a normal …

---

## [Example of tack/untack not shown when inside a let form](https://racket.discourse.group/t/example-of-tack-untack-not-shown-when-inside-a-let-form/4349)

<div class="topic-metadata">

**Author:** [@joskoot](https://racket.discourse.group/u/joskoot)\
**Replies:** 1\
**Last updated:** [August 21, 2026, 7:24am UTC](https://racket.discourse.group/t/example-of-tack-untack-not-shown-when-inside-a-let-form/4349 "2026-08-21T07:24:38Z")

</div>

Is there a special reason why in the let-form no tack/untack option is shown when I right-click on letter b? As the figure shows, without let the option appears and works. Just curious.

---

## [Make-variable-like-transformer](https://racket.discourse.group/t/make-variable-like-transformer/4323)

<div class="topic-metadata">

**Author:** [@joskoot](https://racket.discourse.group/u/joskoot)\
**Replies:** 2\
**Last updated:** [July 20, 2026, 3:09pm UTC](https://racket.discourse.group/t/make-variable-like-transformer/4323 "2026-07-20T15:09:59Z")

</div>

Why does the following give an error? state-a: undefined; cannot reference an identifier before its definition in module: 'anonymous-module Wrong use of datum-\>syntax? How to fix this? #lang racket (require (for-s…

---

## [Moving third-party packages to Codeberg](https://racket.discourse.group/t/moving-third-party-packages-to-codeberg/4312)

<div class="topic-metadata">

**Author:** [@neilvandyke](https://racket.discourse.group/u/neilvandyke)\
**Replies:** 7\
**Last updated:** [July 17, 2026, 6:32pm UTC](https://racket.discourse.group/t/moving-third-party-packages-to-codeberg/4312 "2026-07-17T18:32:38Z")

</div>

Hi. Does anyone knowledgeable about the Racket package system and Git want to comment on this plan? I want to move 37+ Racket packages I wrote to Codeberg (which is like GitHub or GitLab, but warmer and fuzzier). The …

---

## [State of a viewport of graphics/graphics](https://racket.discourse.group/t/state-of-a-viewport-of-graphics-graphics/4309)

<div class="topic-metadata">

**Author:** [@joskoot](https://racket.discourse.group/u/joskoot)\
**Replies:** 2\
**Last updated:** [July 7, 2026, 3:38pm UTC](https://racket.discourse.group/t/state-of-a-viewport-of-graphics-graphics/4309 "2026-07-07T15:38:23Z")

</div>

Would it be possible to add a procedure to library graphics/graphics showing the state of a viewport (open, hidden or closed)? When closing a viewport in the title bar (upper right corner) while the program is waiting f…

---

## [Https://github.com/joskoot/hanoi](https://racket.discourse.group/t/https-github-com-joskoot-hanoi/4306)

<div class="topic-metadata">

**Author:** [@joskoot](https://racket.discourse.group/u/joskoot)\
**Replies:** 2\
**Last updated:** [July 3, 2026, 6:52pm UTC](https://racket.discourse.group/t/https-github-com-joskoot-hanoi/4306 "2026-07-03T18:52:35Z")

</div>

I have a repository: GitHub - joskoot/hanoi: GUI for playing the game of The Tower of Hanoi · GitHub It depends on graphics/graphics. When I try to install it with DrRackets package manager I get the following error: …

---

## [Rackup provision for generated scripts (?) (\`\`racket-launcher-names\`\`)](https://racket.discourse.group/t/rackup-provision-for-generated-scripts-racket-launcher-names/4272)

<div class="topic-metadata">

**Author:** [@aanastasiou](https://racket.discourse.group/u/aanastasiou)\
**Replies:** 2\
**Last updated:** [June 8, 2026, 5:58pm UTC](https://racket.discourse.group/t/rackup-provision-for-generated-scripts-racket-launcher-names/4272 "2026-06-08T17:58:17Z")

</div>

In a given info.rkt, I am making use of racket-launcher-names which creates a launching script within the current racket installation's bin/ directory. This means that if that directory is in the current PATH, the genera…

---

## [Integer versus fixnum](https://racket.discourse.group/t/integer-versus-fixnum/4223)

<div class="topic-metadata">

**Author:** [@MickeyKnox](https://racket.discourse.group/u/MickeyKnox)\
**Replies:** 3\
**Last updated:** [May 21, 2026, 1:13am UTC](https://racket.discourse.group/t/integer-versus-fixnum/4223 "2026-05-21T01:13:40Z")

</div>

What is the difference between a integer and a fixnum? More specifically, is there an example for a number, that has different results for exact-integer? and fixnum??

---

## [How to make changes to a package in the Racket distribution](https://racket.discourse.group/t/how-to-make-changes-to-a-package-in-the-racket-distribution/4219)

<div class="topic-metadata">

**Author:** [@jamesgeddes](https://racket.discourse.group/u/jamesgeddes)\
**Replies:** 2\
**Last updated:** [May 19, 2026, 8:50am UTC](https://racket.discourse.group/t/how-to-make-changes-to-a-package-in-the-racket-distribution/4219 "2026-05-19T08:50:24Z")

</div>

The datalog language works in the DrRacket REPL, but not (as far as I can tell) interactively from the command line (or in emacs racket-mode). There is an old thread on this (REPL does not work · Issue #13 · racket/datal…

---

## [About the youtube procedure in scribble-embedding package](https://racket.discourse.group/t/about-the-youtube-procedure-in-scribble-embedding-package/4162)

<div class="topic-metadata">

**Author:** [@encomer](https://racket.discourse.group/u/encomer)\
**Replies:** 14\
**Last updated:** [May 8, 2026, 10:06pm UTC](https://racket.discourse.group/t/about-the-youtube-procedure-in-scribble-embedding-package/4162 "2026-05-08T22:06:14Z")

</div>

Hello Racket friends: Please, if possible: could you verify\*\* if the youtube procedure in the very useful scribble-embedding package is working fine for you?\*\* In my installation (Racket v9.1, under Windows 10 and the …

---

## [Images in scribbles](https://racket.discourse.group/t/images-in-scribbles/4178)

<div class="topic-metadata">

**Author:** [@hnmdijkema](https://racket.discourse.group/u/hnmdijkema)\
**Replies:** 7\
**Last updated:** [April 5, 2026, 11:51am UTC](https://racket.discourse.group/t/images-in-scribbles/4178 "2026-04-05T11:51:21Z")

</div>

I’ve got an image in a scribble, and it works in my local setup,but when I try to distributie my package, jt fails,because raco does not find it. What can I do to solve this?

---

## [Improving DrRacket ergonomics](https://racket.discourse.group/t/improving-drracket-ergonomics/4163)

<div class="topic-metadata">

**Author:** [@xerz](https://racket.discourse.group/u/xerz)\
**Replies:** 3\
**Last updated:** [March 24, 2026, 8:34pm UTC](https://racket.discourse.group/t/improving-drracket-ergonomics/4163 "2026-03-24T20:34:06Z")

</div>

Heya there! So I've been casually looking at the Racket ecosystem for a year or so, and due to recent circumstances I'm now planning to do HtDP, just so I can tick it off from my todo list and see if there's something I …

---

## [Send to REPL and multi-module projects](https://racket.discourse.group/t/send-to-repl-and-multi-module-projects/4146)

<div class="topic-metadata">

**Author:** [@alexsh](https://racket.discourse.group/u/alexsh)\
**Replies:** 31\
**Last updated:** [March 20, 2026, 2:22am UTC](https://racket.discourse.group/t/send-to-repl-and-multi-module-projects/4146 "2026-03-20T02:22:01Z")

</div>

Originally asked here: Send to REPL and multi-module projects · Issue #766 · greghendershott/racket-mode · GitHub Hi! I am starting a project where I will have many module files, but it seems that "send to REPL" functi…

---

## [I'm confused by the documentation for Classes and Objects](https://racket.discourse.group/t/im-confused-by-the-documentation-for-classes-and-objects/4103)

<div class="topic-metadata">

**Author:** [@MickeyKnox](https://racket.discourse.group/u/MickeyKnox)\
**Replies:** 1\
**Last updated:** [February 6, 2026, 2:26am UTC](https://racket.discourse.group/t/im-confused-by-the-documentation-for-classes-and-objects/4103 "2026-02-06T02:26:44Z")

</div>

The documentation in the guide looks relatively straight forward: methods are defined with define/public, for example. However, when I started to read the documentation in the reference, things started falling apart for…

---

## [How does \_array/list work?](https://racket.discourse.group/t/how-does-array-list-work/4078)

<div class="topic-metadata">

**Author:** [@MickeyKnox](https://racket.discourse.group/u/MickeyKnox)\
**Replies:** 7\
**Last updated:** [January 15, 2026, 10:40pm UTC](https://racket.discourse.group/t/how-does-array-list-work/4078 "2026-01-15T22:40:11Z")

</div>

I have a list that I want to convert into a C array. \_array/list looks promising, as "the Racket representation is a list". But how exactly can I convert my list into a C array?

---

## [Using Redex as an interactive lambda-calculus workbench?](https://racket.discourse.group/t/using-redex-as-an-interactive-lambda-calculus-workbench/4053)

<div class="topic-metadata">

**Author:** [@msap](https://racket.discourse.group/u/msap)\
**Replies:** 1\
**Last updated:** [December 23, 2025, 3:26am UTC](https://racket.discourse.group/t/using-redex-as-an-interactive-lambda-calculus-workbench/4053 "2025-12-23T03:26:41Z")

</div>

I’m working through Lambda-Calculus and Combinators: An Introduction (Hindley & Seldin) and I’m looking for a locally installable Racket-based tool that can act as an interactive workbench for untyped lambda calculus an…

---

## [Running format procedure code example results in error](https://racket.discourse.group/t/running-format-procedure-code-example-results-in-error/4051)

<div class="topic-metadata">

**Author:** [@a-user](https://racket.discourse.group/u/a-user)\
**Replies:** 4\
**Last updated:** [December 22, 2025, 2:15pm UTC](https://racket.discourse.group/t/running-format-procedure-code-example-results-in-error/4051 "2025-12-22T14:15:20Z")

</div>

Typing one of the code example for format in DrRacket returns error. Racket version: 9.0 Language: BSL Documentation link: format Code: (format "the value of ~s is ~a" '(+ 1 1) (+ 1 1)) Error: quote: expected the na…

---

## [Is there some reason --no-yield implies --version in \`racket\`?](https://racket.discourse.group/t/is-there-some-reason-no-yield-implies-version-in-racket/4048)

<div class="topic-metadata">

**Author:** [@wilbowma](https://racket.discourse.group/u/wilbowma)\
**Replies:** 1\
**Last updated:** [December 15, 2025, 11:17pm UTC](https://racket.discourse.group/t/is-there-some-reason-no-yield-implies-version-in-racket/4048 "2025-12-15T23:17:27Z")

</div>

I was messing around with Racket options and noticed that --no-yield always implies --version: racket/racket/src/cs/main.sps at d14920c4b4c62fe695ff00ea5a6e6a47df1d6cb3 · racket/racket · GitHub I'm not sure why that wou…

---

## [How to debug macros?](https://racket.discourse.group/t/how-to-debug-macros/4027)

<div class="topic-metadata">

**Author:** [@hendrikboom3](https://racket.discourse.group/u/hendrikboom3)\
**Replies:** 4\
**Last updated:** [November 27, 2025, 7:06pm UTC](https://racket.discourse.group/t/how-to-debug-macros/4027 "2025-11-27T19:06:21Z")

</div>

I get this message: . . ../../../../../usr/local/racket/collects/racket/private/kw.rkt:1263:25: application: not a procedure; expected a procedure that can be applied to arguments given: #\<void\> It suggests to me th…

---

## [Close a %frame programatically](https://racket.discourse.group/t/close-a-frame-programatically/4019)

<div class="topic-metadata">

**Author:** [@hendrikboom3](https://racket.discourse.group/u/hendrikboom3)\
**Replies:** 1\
**Last updated:** [November 22, 2025, 4:11pm UTC](https://racket.discourse.group/t/close-a-frame-programatically/4019 "2025-11-22T16:11:00Z")

</div>

How do I close a top-level %frame? Of course I can click on the close button the OS provides me at the top right corner. But what if the program I am running wants to initiate the close without user involvement? And t…

---

## [Racket and DuckDB](https://racket.discourse.group/t/racket-and-duckdb/4003)

<div class="topic-metadata">

**Author:** [@jw\_gpc](https://racket.discourse.group/u/jw_gpc)\
**Replies:** 2\
**Last updated:** [November 13, 2025, 10:59am UTC](https://racket.discourse.group/t/racket-and-duckdb/4003 "2025-11-13T10:59:21Z")

</div>

Hello! I was wondering if anyone is using DuckDB with Racket. I know the db library works with SQLite, but I was interesting in trying out testing out DuckDB instead, and I haven't been able to find any references onli…

---

## [How to implement parallel-or?](https://racket.discourse.group/t/how-to-implement-parallel-or/3987)

<div class="topic-metadata">

**Author:** [@ohqo](https://racket.discourse.group/u/ohqo)\
**Replies:** 3\
**Last updated:** [October 27, 2025, 11:42pm UTC](https://racket.discourse.group/t/how-to-implement-parallel-or/3987 "2025-10-27T23:42:20Z")

</div>

The parallel-or operation allows you to run two computations in parallel and either immediately returns true if one of the computations halts with true or returns false if both computations halt with false. I couldn't f…

---

## [Gathering macro-time information](https://racket.discourse.group/t/gathering-macro-time-information/3981)

<div class="topic-metadata">

**Author:** [@hendrikboom3](https://racket.discourse.group/u/hendrikboom3)\
**Replies:** 2\
**Last updated:** [October 25, 2025, 3:58am UTC](https://racket.discourse.group/t/gathering-macro-time-information/3981 "2025-10-25T03:58:26Z")

</div>

Context: Now I am implementing in Racket a few of the control structures of Ink, a notation for writing text adventure games. (If you are interested, see Writing web-based interactive fiction with ink ) I have the fol…

---

## [On macOS how to exit the racket executable](https://racket.discourse.group/t/on-macos-how-to-exit-the-racket-executable/3936)

<div class="topic-metadata">

**Author:** [@racket.raider](https://racket.discourse.group/u/racket.raider)\
**Replies:** 1\
**Last updated:** [September 7, 2025, 7:32pm UTC](https://racket.discourse.group/t/on-macos-how-to-exit-the-racket-executable/3936 "2025-09-07T19:32:41Z")

</div>

On macOS using Emacs, how do I exit the racket executable launched by empty-scene without killing the REPL or force quitting the executable and cause the {racket-back-end-/} exited abnormally with code 1. Closing the win…

---

## [Lock-free RO shared bytes w/o communicating across channels?](https://racket.discourse.group/t/lock-free-ro-shared-bytes-w-o-communicating-across-channels/3927)

<div class="topic-metadata">

**Author:** [@benknoble](https://racket.discourse.group/u/benknoble)\
**Replies:** 4\
**Last updated:** [September 3, 2025, 9:07pm UTC](https://racket.discourse.group/t/lock-free-ro-shared-bytes-w-o-communicating-across-channels/3927 "2025-09-03T21:07:23Z")

</div>

Like the title says, I'm looking for a way to efficiently share some data across embarrassingly parallel workloads without having to pay the communication cost of sending data through channels or locking it. I'm thinking…

---

## [Any prior art/existing libs/ideas for localising Racket languages?](https://racket.discourse.group/t/any-prior-art-existing-libs-ideas-for-localising-racket-languages/3895)

<div class="topic-metadata">

**Author:** [@lectia](https://racket.discourse.group/u/lectia)\
**Replies:** 6\
**Last updated:** [August 12, 2025, 7:39pm UTC](https://racket.discourse.group/t/any-prior-art-existing-libs-ideas-for-localising-racket-languages/3895 "2025-08-12T19:39:23Z")

</div>

For custom langs I imagine this would be somewhat more complicated, but for any s-exp based language certainly and for the base Racket language in particular it's certainly very possible to have "localised lisps" with lo…

---

## [String format does not work](https://racket.discourse.group/t/string-format-does-not-work/3871)

<div class="topic-metadata">

**Author:** [@lylgithub2021](https://racket.discourse.group/u/lylgithub2021)\
**Replies:** 9\
**Last updated:** [July 29, 2025, 9:42am UTC](https://racket.discourse.group/t/string-format-does-not-work/3871 "2025-07-29T09:42:56Z")

</div>

\#lang racket (printf "width1: |~6d|~6d|\\n" 12 345) Why dose it cause error message " printf: ill-formed pattern string explanation: tag ~6 not allowed; arguments were: 12 345"? Ps: on Drracket v8.17

[Next page](https://racket.discourse.group/tag/question/2.md?match_all_tags=true&page=1&tags%5B%5D=question)
