# Latest

**URL:** https://racket.discourse.group/latest.md?page=54

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

**Page:** 55

---

## [Opportunities for indexing?](https://racket.discourse.group/t/opportunities-for-indexing/1321)

<div class="topic-metadata">

**Author:** [@spdegabrielle](https://racket.discourse.group/u/spdegabrielle)\
**Replies:** 2\
**Last updated:** [September 23, 2022, 3:26am UTC](https://racket.discourse.group/t/opportunities-for-indexing/1321 "2022-09-23T03:26:44Z")

</div>

Background: I was looking at the comments on Open defining file should jump to definition · Issue #273 · racket/drracket · GitHub I'm wondering at what points identifiers are gathered, and if they would be opportunities…

---

## [Getting the type of a (class) expression](https://racket.discourse.group/t/getting-the-type-of-a-class-expression/1302)

<div class="topic-metadata">

**Author:** [@scolobb](https://racket.discourse.group/u/scolobb)\
**Replies:** 4\
**Last updated:** [September 22, 2022, 11:14am UTC](https://racket.discourse.group/t/getting-the-type-of-a-class-expression/1302 "2022-09-22T11:14:26Z")

</div>

Hi, Consider the following typed class definition: (define my-class (class object% (super-new) (init-field \[x : Integer\]) (define/public (get-x) x))) I can easily get the type of this class in the REPL: …

---

## [Adding HTML attributes to Scribble \`subsubsection\`](https://racket.discourse.group/t/adding-html-attributes-to-scribble-subsubsection/1296)

<div class="topic-metadata">

**Author:** [@sschwarzer](https://racket.discourse.group/u/sschwarzer)\
**Replies:** 2\
**Last updated:** [September 19, 2022, 11:10am UTC](https://racket.discourse.group/t/adding-html-attributes-to-scribble-subsubsection/1296 "2022-09-19T11:10:41Z")

</div>

In a Scribble document, I'm using subsubsection, but don't want numbering - and the line above the title. If I add style="border: none; padding-top: 0px; margin-top: 1em;" to the generated HTML in the h5 tag, this has t…

---

## [Rackunit and pict](https://racket.discourse.group/t/rackunit-and-pict/1306)

<div class="topic-metadata">

**Author:** [@bremner](https://racket.discourse.group/u/bremner)\
**Replies:** 4\
**Last updated:** [September 20, 2022, 12:02pm UTC](https://racket.discourse.group/t/rackunit-and-pict/1306 "2022-09-20T12:02:52Z")

</div>

I've been introducing students to racket using slideshow (based roughly on the Quick tutorial), and we just started talking about rackunit. Naturally the question of how to test slideshow programs came up. I'm not sur…

---

## [Friday hackathon at RacketCon](https://racket.discourse.group/t/friday-hackathon-at-racketcon/1317)

<div class="topic-metadata">

**Author:** [@jesse](https://racket.discourse.group/u/jesse)\
**Replies:** 0\
**Last updated:** [September 20, 2022, 11:37am UTC](https://racket.discourse.group/t/friday-hackathon-at-racketcon/1317 "2022-09-20T11:37:50Z")

</div>

We're getting ever closer to RacketCon! Recall that this year, we're trying, as an experiment, having an additional block of time for hackathons. We've penciled in the afternoon of Friday, October 28 for this purpose. It…

---

## [Klunky structure code with generics](https://racket.discourse.group/t/klunky-structure-code-with-generics/1308)

<div class="topic-metadata">

**Author:** [@hendrikboom3](https://racket.discourse.group/u/hendrikboom3)\
**Replies:** 4\
**Last updated:** [September 18, 2022, 9:19pm UTC](https://racket.discourse.group/t/klunky-structure-code-with-generics/1308 "2022-09-18T21:19:57Z")

</div>

I am having trouble figuring out how to represent the dta structures I want in a convenient way. Here's a very stripped-down example, with comments indicating what I'm finding klunky. (I found classes confusing -- shou…

---

## [Debugging infinite loops and rackunit](https://racket.discourse.group/t/debugging-infinite-loops-and-rackunit/1307)

<div class="topic-metadata">

**Author:** [@bremner](https://racket.discourse.group/u/bremner)\
**Replies:** 0\
**Last updated:** [September 17, 2022, 12:52pm UTC](https://racket.discourse.group/t/debugging-infinite-loops-and-rackunit/1307 "2022-09-17T12:52:23Z")

</div>

I'm running Racket 8.6 \[CS\] on Debian The following program has an infinite loop in it which makes it a bit of challenge for the DrRacket debugger. It is interruptible from the normal run (F5) but not from hitting "Go…

---

## [Rename to identifier with spaces, yay](https://racket.discourse.group/t/rename-to-identifier-with-spaces-yay/1292)

<div class="topic-metadata">

**Author:** [@jbclements](https://racket.discourse.group/u/jbclements)\
**Replies:** 13\
**Last updated:** [September 16, 2022, 11:41am UTC](https://racket.discourse.group/t/rename-to-identifier-with-spaces-yay/1292 "2022-09-16T11:41:54Z")

</div>

Today, just for fun, I used DrRacket's "rename identifier" to rename the identifier "foo" to "foo 123". It cheerfully did the replacement, including spaces. I should file this as a bug, yes?

---

## [Pre-release: Shallow and Optional Types](https://racket.discourse.group/t/pre-release-shallow-and-optional-types/1303)

<div class="topic-metadata">

**Author:** [@ben\_greenman](https://racket.discourse.group/u/ben_greenman)\
**Replies:** 6\
**Last updated:** [September 16, 2022, 7:52am UTC](https://racket.discourse.group/t/pre-release-shallow-and-optional-types/1303 "2022-09-16T07:52:24Z")

</div>

Typed Racket comes with two faster-but-weaker alternatives to its normal "Deep" types in the latest snapshot builds: https://snapshot.racket-lang.org/ Give them a try & report any issues! "Faster but weaker" refers to…

---

## [Access syntax object of defined procedure?](https://racket.discourse.group/t/access-syntax-object-of-defined-procedure/1301)

<div class="topic-metadata">

**Author:** [@wenzeljakob](https://racket.discourse.group/u/wenzeljakob)\
**Replies:** 2\
**Last updated:** [September 15, 2022, 2:52pm UTC](https://racket.discourse.group/t/access-syntax-object-of-defined-procedure/1301 "2022-09-15T14:52:51Z")

</div>

Dear all, I am looking into Racket with an interest in meta-programming/program transformations. Racket's macros & support for pattern-matching the AST are very powerful but appear somewhat static to me. They can be use…

---

## [Summer #lang Party](https://racket.discourse.group/t/summer-lang-party/1128)

<div class="topic-metadata">

**Author:** [@ben\_greenman](https://racket.discourse.group/u/ben_greenman)\
**Replies:** 18\
**Last updated:** [September 15, 2022, 4:49am UTC](https://racket.discourse.group/t/summer-lang-party/1128 "2022-09-15T04:49:37Z")

</div>

Write a language with Racket this summer! Win prizes! Suggestions for languages are welcome too. See below! Ground Rules Any language counts as long as you helped to make it. Big or small, brand new or recently imp…

---

## [Racket v8.6 Release Thread](https://racket.discourse.group/t/racket-v8-6-release-thread/1091)

<div class="topic-metadata">

**Author:** [@jbclements](https://racket.discourse.group/u/jbclements)\
**Replies:** 38\
**Last updated:** [September 15, 2022, 2:16am UTC](https://racket.discourse.group/t/racket-v8-6-release-thread/1091 "2022-09-15T02:16:19Z")

</div>

The release process for v8.6 will begin in about a week. If you have any new features that you want in and are relatively close to being done, now is a good time to do that. Upcoming dates: - 29th: Branch day, merge …

---

## [Req: Dependency manager for Racket projects](https://racket.discourse.group/t/req-dependency-manager-for-racket-projects/1277)

<div class="topic-metadata">

**Author:** [@xgqt](https://racket.discourse.group/u/xgqt)\
**Replies:** 4\
**Last updated:** [September 13, 2022, 5:02am UTC](https://racket.discourse.group/t/req-dependency-manager-for-racket-projects/1277 "2022-09-13T05:02:32Z")

</div>

Req is a spiritual successor or Python's requirement.txt files, but for Racket. The biggest problem with requirement.txt was that dependency listing was duplicated in that file and setup.py's install\_requires. In Req …

---

## [Expansion and "enriching"](https://racket.discourse.group/t/expansion-and-enriching/1294)

<div class="topic-metadata">

**Author:** [@greghendershott](https://racket.discourse.group/u/greghendershott)\
**Replies:** 1\
**Last updated:** [September 12, 2022, 6:17pm UTC](https://racket.discourse.group/t/expansion-and-enriching/1294 "2022-09-12T18:17:34Z")

</div>

In Racket Mode I have a cache of fully expanded syntax. Some users of the cache need it to be "enriched", as done by expand (as opposed to expand-syntax). In one case I want to "warm" the cache from a compiled load hand…

---

## [Signature and unit](https://racket.discourse.group/t/signature-and-unit/1295)

<div class="topic-metadata">

**Author:** [@dannypsnl](https://racket.discourse.group/u/dannypsnl)\
**Replies:** 0\
**Last updated:** [September 10, 2022, 7:24am UTC](https://racket.discourse.group/t/signature-and-unit/1295 "2022-09-10T07:24:45Z")

</div>

If I define a signature, then the unit exports it has to implement all identifiers as I know, does there has any abstraction is that I can provide default implementation like replying unsupported with a brief interface l…

---

## [CS ≠ BC for call-with-values](https://racket.discourse.group/t/cs-bc-for-call-with-values/1284)

<div class="topic-metadata">

**Author:** [@joskoot](https://racket.discourse.group/u/joskoot)\
**Replies:** 4\
**Last updated:** [September 8, 2022, 12:03am UTC](https://racket.discourse.group/t/cs-bc-for-call-with-values/1284 "2022-09-08T00:03:42Z")

</div>

... Running the following program with DrRacket BC gives other results than DrRacket CS. Can someone tell me why? Is the difference intended? Thanks. ... #lang racket/base ; version 8.6 ; windows 10 enterprise ; run…

---

## [RacketCon 2022: COVID-19 policy](https://racket.discourse.group/t/racketcon-2022-covid-19-policy/1282)

<div class="topic-metadata">

**Author:** [@jesse](https://racket.discourse.group/u/jesse)\
**Replies:** 0\
**Last updated:** [September 7, 2022, 1:39pm UTC](https://racket.discourse.group/t/racketcon-2022-covid-19-policy/1282 "2022-09-07T13:39:34Z")

</div>

There was a question in Discord whether RacketCon 2022 has a COVID-19 policy. The short answer is: yes. In detail: The event will take place under the policy in place at our venue, Brown University. Please take a look at…

---

## [Is there an "Instructor's manual" for "How to Design Programs"](https://racket.discourse.group/t/is-there-an-instructors-manual-for-how-to-design-programs/1276)

<div class="topic-metadata">

**Author:** [@jgomo3](https://racket.discourse.group/u/jgomo3)\
**Replies:** 1\
**Last updated:** [September 6, 2022, 2:58pm UTC](https://racket.discourse.group/t/is-there-an-instructors-manual-for-how-to-design-programs/1276 "2022-09-06T14:58:41Z")

</div>

I'm preparing myself to eventually teach programming using this book as the foundation, by reading it end to end. So I wonder if a document aimed to instructors exists.

---

## [Racket meet-up September 3rd at 18:00 UTC :racket:](https://racket.discourse.group/t/racket-meet-up-september-3rd-at-18-00-utc/1243)

<div class="topic-metadata">

**Author:** [@spdegabrielle](https://racket.discourse.group/u/spdegabrielle)\
**Replies:** 5\
**Last updated:** [September 3, 2022, 8:17pm UTC](https://racket.discourse.group/t/racket-meet-up-september-3rd-at-18-00-utc/1243 "2022-09-03T20:17:44Z")

</div>

Racket meet-up September 3rd at 18:00 UTC :racket: Meet-up time at your location: 2022-09-03T18:00:00Z (UTC) Online In the Gather Town 'Racket Room': https://gather.town/app/wH1EDG3McffLjrs0/racket-users When: First…

---

## [Help: \`make install\` fails on Termux](https://racket.discourse.group/t/help-make-install-fails-on-termux/934)

<div class="topic-metadata">

**Author:** [@spore](https://racket.discourse.group/u/spore)\
**Replies:** 9\
**Last updated:** [September 3, 2022, 3:04am UTC](https://racket.discourse.group/t/help-make-install-fails-on-termux/934 "2022-09-03T03:04:56Z")

</div>

I'm trying to compile Racket 8.4(cs) on my Android phone with Termux, because the version provided in their repo is too old (7.4 bc). I used ./configure --prefix=$PREFIX and it seems good, make also succeeded with no er…

---

## [Run infinite loop in future for message-passing style?](https://racket.discourse.group/t/run-infinite-loop-in-future-for-message-passing-style/1265)

<div class="topic-metadata">

**Author:** [@dannypsnl](https://racket.discourse.group/u/dannypsnl)\
**Replies:** 12\
**Last updated:** [September 2, 2022, 6:49am UTC](https://racket.discourse.group/t/run-infinite-loop-in-future-for-message-passing-style/1265 "2022-09-02T06:49:52Z")

</div>

I write the code like the following (struct process (fu ch)) (define (process-send pro msg) (async-channel-put (process-ch pro) msg)) (define (^friend my-name) (define ch (make-async-channel)) (define self (futu…

---

## [Passing INSTALL\_SETUP\_FLAGS to zuo](https://racket.discourse.group/t/passing-install-setup-flags-to-zuo/1260)

<div class="topic-metadata">

**Author:** [@bremner](https://racket.discourse.group/u/bremner)\
**Replies:** 5\
**Last updated:** [September 2, 2022, 2:06am UTC](https://racket.discourse.group/t/passing-install-setup-flags-to-zuo/1260 "2022-09-02T02:06:48Z")

</div>

In the Debian build I previously relied on PLT\_SETUP\_OPTIONS to pass --do-docs to (the equivalent of) raco setup. Is there a suggested new way? I found that bin/zuo . install INSTALL\_SETUP\_FLAGS="$whatever" works, b…

---

## [Documentation for -r/--script is incorrect](https://racket.discourse.group/t/documentation-for-r-script-is-incorrect/1270)

<div class="topic-metadata">

**Author:** [@jdjohnston](https://racket.discourse.group/u/jdjohnston)\
**Replies:** 1\
**Last updated:** [September 1, 2022, 1:46pm UTC](https://racket.discourse.group/t/documentation-for-r-script-is-incorrect/1270 "2022-09-01T13:46:17Z")

</div>

Racket Reference, section 18.1.4, "Command Line" states that -r \<file\> or --script \<file\> is like -t \<file\> -N \<file\> --. As racket --help shows it (correctly), -r/--script is essentially -f \<file\> -N \<file\> --. Option -…

---

## [Rich \`text%\` editors](https://racket.discourse.group/t/rich-text-editors/1267)

<div class="topic-metadata">

**Author:** [@LiberalArtist](https://racket.discourse.group/u/LiberalArtist)\
**Replies:** 2\
**Last updated:** [September 1, 2022, 11:36am UTC](https://racket.discourse.group/t/rich-text-editors/1267 "2022-09-01T11:36:23Z")

</div>

I'm interested in using text% from racket/gui for an application that needs a rich text editor. I'm interested in general in any existing work along these lines, but I have a very basic question to start with: How can I …

---

## [Documenting class fields](https://racket.discourse.group/t/documenting-class-fields/1258)

<div class="topic-metadata">

**Author:** [@scolobb](https://racket.discourse.group/u/scolobb)\
**Replies:** 2\
**Last updated:** [August 31, 2022, 8:58pm UTC](https://racket.discourse.group/t/documenting-class-fields/1258 "2022-08-31T20:58:44Z")

</div>

Hi, What is the canonical way to document class fields in Scribble? Consider for example the following code: #lang typed/racket (define my-class% (class object% (super-new) (init-field \[public-integer : Int…

---

## [Dot notation for object field access and method calls - and bracket notation for indexing](https://racket.discourse.group/t/dot-notation-for-object-field-access-and-method-calls-and-bracket-notation-for-indexing/1227)

<div class="topic-metadata">

**Author:** [@soegaard](https://racket.discourse.group/u/soegaard)\
**Replies:** 24\
**Last updated:** [August 31, 2022, 3:43pm UTC](https://racket.discourse.group/t/dot-notation-for-object-field-access-and-method-calls-and-bracket-notation-for-indexing/1227 "2022-08-31T15:43:02Z")

</div>

The new language super adds (to an existing language such as racket) traditional dot notation for object field access and method calls. 1. o.f access field f of object o 2. o.f1.f2 …

---

## [Tree-sitter-racket](https://racket.discourse.group/t/tree-sitter-racket/1026)

<div class="topic-metadata">

**Author:** [@6cdh](https://racket.discourse.group/u/6cdh)\
**Replies:** 2\
**Last updated:** [August 31, 2022, 11:58am UTC](https://racket.discourse.group/t/tree-sitter-racket/1026 "2022-08-31T11:58:04Z")

</div>

I made a Racket grammar for tree-sitter: It only works on the default readtable. I hope it is helpful for editor users.

---

## [Racket/gui: how to use canvas%'s init-auto-scrollbar method](https://racket.discourse.group/t/racket-gui-how-to-use-canvas-s-init-auto-scrollbar-method/1263)

<div class="topic-metadata">

**Author:** [@jjsimpso](https://racket.discourse.group/u/jjsimpso)\
**Replies:** 2\
**Last updated:** [August 31, 2022, 1:40am UTC](https://racket.discourse.group/t/racket-gui-how-to-use-canvas-s-init-auto-scrollbar-method/1263 "2022-08-31T01:40:55Z")

</div>

I'm developing a new canvas by subclassing canvas%. I would like for my new canvas to manage the scrollbars automatically and am attempting to setup automatic scrollbars with init-auto-scrollbars. My thought is that I …

---

## [Why ffi's \`\_list\` is bad syntax?](https://racket.discourse.group/t/why-ffis-list-is-bad-syntax/1264)

<div class="topic-metadata">

**Author:** [@dannypsnl](https://racket.discourse.group/u/dannypsnl)\
**Replies:** 1\
**Last updated:** [August 30, 2022, 9:09pm UTC](https://racket.discourse.group/t/why-ffis-list-is-bad-syntax/1264 "2022-08-30T21:09:40Z")

</div>

Code #lang racket (require ffi/unsafe) (\_fun (\_list io \_uint32) -\> \_uint32) Full error message: ffi.rkt:5:6: \_list: bad syntax in: (\_list io \_uint32) location...: ffi.rkt:5:6 context...: /Applications/Rac…

---

## [Racket v8.5 release thread](https://racket.discourse.group/t/racket-v8-5-release-thread/841)

<div class="topic-metadata">

**Author:** [@jbclements](https://racket.discourse.group/u/jbclements)\
**Replies:** 44\
**Last updated:** [August 27, 2022, 6:28pm UTC](https://racket.discourse.group/t/racket-v8-5-release-thread/841 "2022-08-27T18:28:57Z")

</div>

The release process for v8.5 will begin in about a week. If you have any new features that you want in and are relatively close to to being done, now is a good time to do that. Upcoming dates: - 7th: Branch day, merge…

[Previous page](https://racket.discourse.group/latest.md?page=53)

[Next page](https://racket.discourse.group/latest.md?page=55)
