# Latest

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

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

**Page:** 24

---

## [How to implement generic method implementation separate from struct definition](https://racket.discourse.group/t/how-to-implement-generic-method-implementation-separate-from-struct-definition/2894)

<div class="topic-metadata">

**Author:** [@rvdalen](https://racket.discourse.group/u/rvdalen)\
**Replies:** 6\
**Last updated:** [October 23, 2024, 4:49am UTC](https://racket.discourse.group/t/how-to-implement-generic-method-implementation-separate-from-struct-definition/2894 "2024-10-23T04:49:55Z")

</div>

I'm wondering if it is possible to do the following: Define a struct in 1 file: ---\[ data.rkt \]--- (struct person (name age)) Define an interface in a separate file: ---\[ greetable.rkt \]--- (define-generics greet…

---

## [How to make top-level depend on module-begin's success?](https://racket.discourse.group/t/how-to-make-top-level-depend-on-module-begins-success/3232)

<div class="topic-metadata">

**Author:** [@JoeyEremondi](https://racket.discourse.group/u/JoeyEremondi)\
**Replies:** 5\
**Last updated:** [October 22, 2024, 3:13pm UTC](https://racket.discourse.group/t/how-to-make-top-level-depend-on-module-begins-success/3232 "2024-10-22T15:13:01Z")

</div>

Does anyone understand the interaction between #%module-begin and #%top-interaction in Racket? E.g. if I do: #lang racket (if x y) ;; syntax error, missing else case And hit "Run" in Dr. Racket, it gives a syntax error…

---

## [Probable typo in documentation](https://racket.discourse.group/t/probable-typo-in-documentation/3242)

<div class="topic-metadata">

**Author:** [@hendrikboom3](https://racket.discourse.group/u/hendrikboom3)\
**Replies:** 1\
**Last updated:** [October 22, 2024, 5:12am UTC](https://racket.discourse.group/t/probable-typo-in-documentation/3242 "2024-10-22T05:12:39Z")

</div>

In the description of weak? in 5.8 Custodian Shutdown Registration there seems to be an extra 'no' in the clause "the value becomes strongly held when no there are no other strong references and no later-registered fina…

---

## [Testing for the v8.15 release](https://racket.discourse.group/t/testing-for-the-v8-15-release/3248)

<div class="topic-metadata">

**Author:** [@jbclements](https://racket.discourse.group/u/jbclements)\
**Replies:** 1\
**Last updated:** [October 22, 2024, 3:50am UTC](https://racket.discourse.group/t/testing-for-the-v8-15-release/3248 "2024-10-22T03:50:46Z")

</div>

Testing for the v8.15 release (using the v8.14.900 release candidate build) Search for your name on the checklist page to find relevant items, either reply when you finish an item (please indicate which item/s is/are …

---

## [How to set --no-docs as default behavior for raco pkg install and remove](https://racket.discourse.group/t/how-to-set-no-docs-as-default-behavior-for-raco-pkg-install-and-remove/3246)

<div class="topic-metadata">

**Author:** [@Zeb](https://racket.discourse.group/u/Zeb)\
**Replies:** 0\
**Last updated:** [October 21, 2024, 4:50pm UTC](https://racket.discourse.group/t/how-to-set-no-docs-as-default-behavior-for-raco-pkg-install-and-remove/3246 "2024-10-21T16:50:55Z")

</div>

how to set --no-docs as default behavior for raco pkg install and remove

---

## [How can I improve my knitting?](https://racket.discourse.group/t/how-can-i-improve-my-knitting/3239)

<div class="topic-metadata">

**Author:** [@bakgatviooldoos](https://racket.discourse.group/u/bakgatviooldoos)\
**Replies:** 8\
**Last updated:** [October 21, 2024, 4:32pm UTC](https://racket.discourse.group/t/how-can-i-improve-my-knitting/3239 "2024-10-21T16:32:36Z")

</div>

Hi, Racket Discourse. I have been messing around with the following little syntax, called knitting, which is basically a thin wrapper around @lexi.lambda's threading, which she recently updated. The excitement got me t…

---

## [PDFs or hard copies of Racket docs?](https://racket.discourse.group/t/pdfs-or-hard-copies-of-racket-docs/3245)

<div class="topic-metadata">

**Author:** [@frodeaux](https://racket.discourse.group/u/frodeaux)\
**Replies:** 2\
**Last updated:** [October 21, 2024, 4:19pm UTC](https://racket.discourse.group/t/pdfs-or-hard-copies-of-racket-docs/3245 "2024-10-21T16:19:13Z")

</div>

The docs are great, but I'd love to be able to print hard copies of entire documents (example: Package Management...) in order to really study, highlight, annotate by hand, etc. Any suggestions?

---

## [Graphing a syntax classes](https://racket.discourse.group/t/graphing-a-syntax-classes/2213)

<div class="topic-metadata">

**Author:** [@corpix](https://racket.discourse.group/u/corpix)\
**Replies:** 2\
**Last updated:** [October 21, 2024, 10:13am UTC](https://racket.discourse.group/t/graphing-a-syntax-classes/2213 "2024-10-21T10:13:58Z")

</div>

Hey, Racket community! I am writing a DSL for ClickHouse database and made some amount of syntax classes already. After some amount I feel it becomes difficult to hold everything in my head, so I have started to look is…

---

## [What are some Syntax Class idioms that you enjoy?](https://racket.discourse.group/t/what-are-some-syntax-class-idioms-that-you-enjoy/3244)

<div class="topic-metadata">

**Author:** [@bakgatviooldoos](https://racket.discourse.group/u/bakgatviooldoos)\
**Replies:** 0\
**Last updated:** [October 21, 2024, 8:32am UTC](https://racket.discourse.group/t/what-are-some-syntax-class-idioms-that-you-enjoy/3244 "2024-10-21T08:32:26Z")

</div>

Hi, Racket Discourse. What kinds of idioms do you enjoy using when writing syntax classes for syntax-parse and friends? I stumbled on this nice little turn of phrase for a choice from a group of options: (pattern (@ (…

---

## [Good first issues & contributing to Racket](https://racket.discourse.group/t/good-first-issues-contributing-to-racket/3243)

<div class="topic-metadata">

**Author:** [@spdegabrielle](https://racket.discourse.group/u/spdegabrielle)\
**Replies:** 1\
**Last updated:** [October 21, 2024, 6:27am UTC](https://racket.discourse.group/t/good-first-issues-contributing-to-racket/3243 "2024-10-21T06:27:48Z")

</div>

Hi Someone asked about contributing to Racket during the Racket Town Hall. As an open source project contributions are welcome from everyone. If you are interested in contributing the best place to start looking is is…

---

## [Contracts from definitions window implied to the interactions window?](https://racket.discourse.group/t/contracts-from-definitions-window-implied-to-the-interactions-window/3240)

<div class="topic-metadata">

**Author:** [@joskoot](https://racket.discourse.group/u/joskoot)\
**Replies:** 3\
**Last updated:** [October 20, 2024, 7:38pm UTC](https://racket.discourse.group/t/contracts-from-definitions-window-implied-to-the-interactions-window/3240 "2024-10-20T19:38:58Z")

</div>

When opening DrRacket with a file that provides contracted procedures, the contracts are not checked when calling a procedure in the interactions window. A simple solution is: (define my-module base-module source ...) …

---

## [Quick one: When to syntax-parameterize?](https://racket.discourse.group/t/quick-one-when-to-syntax-parameterize/3241)

<div class="topic-metadata">

**Author:** [@bakgatviooldoos](https://racket.discourse.group/u/bakgatviooldoos)\
**Replies:** 0\
**Last updated:** [October 19, 2024, 9:47pm UTC](https://racket.discourse.group/t/quick-one-when-to-syntax-parameterize/3241 "2024-10-19T21:47:26Z")

</div>

Hi, Racket Discourse. I have a macro that controls its internal state via a syntax-parameter which the user toggles via a mnemonic phrase in the macro-body to either on or off over the course of its expansion. Now, thi…

---

## [Memory overflow](https://racket.discourse.group/t/memory-overflow/3226)

<div class="topic-metadata">

**Author:** [@joskoot](https://racket.discourse.group/u/joskoot)\
**Replies:** 5\
**Last updated:** [October 19, 2024, 8:29pm UTC](https://racket.discourse.group/t/memory-overflow/3226 "2024-10-19T20:29:51Z")

</div>

From the docs: exn:fail:out-of-memory Raised for an error due to insufficient memory, in cases where sufficient memory is at least available for raising the exception. How can sufficient memory be available when the m…

---

## [Generate XML with the xml library](https://racket.discourse.group/t/generate-xml-with-the-xml-library/3194)

<div class="topic-metadata">

**Author:** [@damien\_mattei](https://racket.discourse.group/u/damien_mattei)\
**Replies:** 7\
**Last updated:** [October 18, 2024, 1:32pm UTC](https://racket.discourse.group/t/generate-xml-with-the-xml-library/3194 "2024-10-18T13:32:44Z")

</div>

hello, i need to generate an XML document that start with things like that: \<?xml version="1.0"?\> \<VOTABLE version="1.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.ivoa.net/xml/VOTable/v1.…

---

## [A Very Simple Trace Viewer/Debugger](https://racket.discourse.group/t/a-very-simple-trace-viewer-debugger/3238)

<div class="topic-metadata">

**Author:** [@alpaylan](https://racket.discourse.group/u/alpaylan)\
**Replies:** 1\
**Last updated:** [October 18, 2024, 1:15pm UTC](https://racket.discourse.group/t/a-very-simple-trace-viewer-debugger/3238 "2024-10-18T13:15:59Z")

</div>

I wrote a trace viewer to collapse/traverse the inputs format I get by using trace f for debugging my programs post hoc. I haven't pushed the code into a public repository yet, but it's all self-contained in the HTML pag…

---

## [Hello,Is any popular web framework in Racket world?](https://racket.discourse.group/t/hello-is-any-popular-web-framework-in-racket-world/3235)

<div class="topic-metadata">

**Author:** [@Fover23](https://racket.discourse.group/u/Fover23)\
**Replies:** 1\
**Last updated:** [October 16, 2024, 11:11am UTC](https://racket.discourse.group/t/hello-is-any-popular-web-framework-in-racket-world/3235 "2024-10-16T11:11:07Z")

</div>

I new to Racket, I found Lisp is funny . My work is to write api by python with Django framework. Is any framework that in Racket, It may make me easy to learn Racket. :grin:

---

## [Hypothetical Syntax Time](https://racket.discourse.group/t/hypothetical-syntax-time/3228)

<div class="topic-metadata">

**Author:** [@bakgatviooldoos](https://racket.discourse.group/u/bakgatviooldoos)\
**Replies:** 1\
**Last updated:** [October 14, 2024, 6:16pm UTC](https://racket.discourse.group/t/hypothetical-syntax-time/3228 "2024-10-14T18:16:54Z")

</div>

Hi, Racket Discourse. I was browsing the examples of the proposed conditional syntax in this paper, The Ultimate Conditional Syntax. I have not read the formal claims and proofs they make, but the shape of things is in…

---

## [Release for v8.15 has begun](https://racket.discourse.group/t/release-for-v8-15-has-begun/3222)

<div class="topic-metadata">

**Author:** [@jbclements](https://racket.discourse.group/u/jbclements)\
**Replies:** 1\
**Last updated:** [October 14, 2024, 8:00am UTC](https://racket.discourse.group/t/release-for-v8-15-has-begun/3222 "2024-10-14T08:00:19Z")

</div>

The release process for v8.15 has begun: release checkpoints have been created for all packages in the main distribution, and release branches have been created when necessary. You can go on using \`master\` branches as us…

---

## [Trying out raco demod](https://racket.discourse.group/t/trying-out-raco-demod/3207)

<div class="topic-metadata">

**Author:** [@spdegabrielle](https://racket.discourse.group/u/spdegabrielle)\
**Replies:** 2\
**Last updated:** [October 13, 2024, 7:11pm UTC](https://racket.discourse.group/t/trying-out-raco-demod/3207 "2024-10-13T19:11:34Z")

</div>

Hi Thought I’d try out raco demod but I’ve run into a little roadblock I’ve got a nice little module cli-command/hello.rkt at master · racket-templates/cli-command · GitHub I ran raco demod -o hellod -g hello.rkt and …

---

## [A match-like DSL for deep immutable updates](https://racket.discourse.group/t/a-match-like-dsl-for-deep-immutable-updates/3220)

<div class="topic-metadata">

**Author:** [@quasarbright](https://racket.discourse.group/u/quasarbright)\
**Replies:** 2\
**Last updated:** [October 12, 2024, 6:24pm UTC](https://racket.discourse.group/t/a-match-like-dsl-for-deep-immutable-updates/3220 "2024-10-12T18:24:21Z")

</div>

I made an optics library called "Ocular Patdown" that features a match-like DSL for performing deep immutable updates. Example: \> (update (list 1 2 3) \[(list a b c) (set! a #t) (modify! b -)\]) '(#t -2 …

---

## [Fun with HTTP Requests](https://racket.discourse.group/t/fun-with-http-requests/3224)

<div class="topic-metadata">

**Author:** [@bakgatviooldoos](https://racket.discourse.group/u/bakgatviooldoos)\
**Replies:** 0\
**Last updated:** [October 12, 2024, 6:11pm UTC](https://racket.discourse.group/t/fun-with-http-requests/3224 "2024-10-12T18:11:11Z")

</div>

Hi, Racket Discourse. I have been exposed over the past two years to a much wider variety of ways in which to interact with computers. I have mostly favored building frog-like software preceding this period; low to the …

---

## [Best practices for tracing type information in a #lang](https://racket.discourse.group/t/best-practices-for-tracing-type-information-in-a-lang/3221)

<div class="topic-metadata">

**Author:** [@JoeyEremondi](https://racket.discourse.group/u/JoeyEremondi)\
**Replies:** 0\
**Last updated:** [October 12, 2024, 4:29am UTC](https://racket.discourse.group/t/best-practices-for-tracing-type-information-in-a-lang/3221 "2024-10-12T04:29:50Z")

</div>

I'm wondering what the "best" or recommended way to track type information in a statically typed #lang is, for things like showing type information on hover, printing the types of variables in a context, typing holes wit…

---

## [\[ANN\] threading 2.0](https://racket.discourse.group/t/ann-threading-2-0/3219)

<div class="topic-metadata">

**Author:** [@lexi.lambda](https://racket.discourse.group/u/lexi.lambda)\
**Replies:** 0\
**Last updated:** [October 11, 2024, 11:01pm UTC](https://racket.discourse.group/t/ann-threading-2-0/3219 "2024-10-11T23:01:26Z")

</div>

Some of you may be familiar with my threading package, which is a port of Clojure’s threading macros to Racket. The package is quite simple and has been essentially unchanged since I initially released it in 2015. In th…

---

## [AP Computer Science Principles](https://racket.discourse.group/t/ap-computer-science-principles/3216)

<div class="topic-metadata">

**Author:** [@ToddOBryan](https://racket.discourse.group/u/ToddOBryan)\
**Replies:** 3\
**Last updated:** [October 11, 2024, 7:06pm UTC](https://racket.discourse.group/t/ap-computer-science-principles/3216 "2024-10-11T19:06:02Z")

</div>

After a 10-year stent in industry, I'm back teaching and have five sections of AP Computer Science Principles. Does anybody have pointers about how to use Racket in this context? I'd prefer not to reinvent the wheel, if …

---

## [Racket Cookbooks!](https://racket.discourse.group/t/racket-cookbooks/3217)

<div class="topic-metadata">

**Author:** [@spdegabrielle](https://racket.discourse.group/u/spdegabrielle)\
**Replies:** 1\
**Last updated:** [October 11, 2024, 8:59am UTC](https://racket.discourse.group/t/racket-cookbooks/3217 "2024-10-11T08:59:27Z")

</div>

https://github.com/Racket-Cookbooks Looking for contributions - please submit your recipes for Plot, GUI, Rsound, Slideshow or Scribble Cookbooks We welcome contributions! Click new issue or create a pull request in G…

---

## [Raco exe question](https://racket.discourse.group/t/raco-exe-question/3212)

<div class="topic-metadata">

**Author:** [@Don](https://racket.discourse.group/u/Don)\
**Replies:** 2\
**Last updated:** [October 10, 2024, 12:38pm UTC](https://racket.discourse.group/t/raco-exe-question/3212 "2024-10-10T12:38:46Z")

</div>

I run the following 'raco exe' command with the understanding that Racket will be embedded: (system "raco exe ++lang racket --gui ProcessorX.rkt") When I run the resulting main.app the GUI program displays and runs as …

---

## [Bug in number? function after (require malt)](https://racket.discourse.group/t/bug-in-number-function-after-require-malt/3192)

<div class="topic-metadata">

**Author:** [@fweyt](https://racket.discourse.group/u/fweyt)\
**Replies:** 12\
**Last updated:** [October 9, 2024, 2:11pm UTC](https://racket.discourse.group/t/bug-in-number-function-after-require-malt/3192 "2024-10-09T14:11:30Z")

</div>

(number? pi) =\> #t and (number? (/ pi 1)) ==\> #t after (require malt) the number? function behaves different (number? pi) ==\> still #t but (number? (/ pi 1) ==\> #f???

---

## [Best way to implement a "front controller" with Racket's web server](https://racket.discourse.group/t/best-way-to-implement-a-front-controller-with-rackets-web-server/3193)

<div class="topic-metadata">

**Author:** [@badkins](https://racket.discourse.group/u/badkins)\
**Replies:** 4\
**Last updated:** [October 9, 2024, 2:24pm UTC](https://racket.discourse.group/t/best-way-to-implement-a-front-controller-with-rackets-web-server/3193 "2024-10-09T14:24:02Z")

</div>

This question is primarily directed to @jeapostrophe , but anyone can feel free to comment :slight\_smile: I think back in 2019, Jay mentioned my use of web-server/dispatchers/dispatch-lift in Axio was less than ideal, a…

---

## [Harness for mutation testing](https://racket.discourse.group/t/harness-for-mutation-testing/3206)

<div class="topic-metadata">

**Author:** [@SamPhillips](https://racket.discourse.group/u/SamPhillips)\
**Replies:** 3\
**Last updated:** [October 9, 2024, 10:55am UTC](https://racket.discourse.group/t/harness-for-mutation-testing/3206 "2024-10-09T10:55:02Z")

</div>

Is there are harness to streamline some of the setup of mutation testing (using mutate) for a package? This seems like it could be a neat raco command... Tagging: @CharlieRay668 @jbclements @llazarek

---

## [Running handin server with systemd?](https://racket.discourse.group/t/running-handin-server-with-systemd/3205)

<div class="topic-metadata">

**Author:** [@jbclements](https://racket.discourse.group/u/jbclements)\
**Replies:** 1\
**Last updated:** [October 7, 2024, 10:37pm UTC](https://racket.discourse.group/t/running-handin-server-with-systemd/3205 "2024-10-07T22:37:24Z")

</div>

I've been running a handin server (that is, using the handin pkg) for ... uh .. 20 years? I'm still using Daniel J. Bernstein's daemontools to keep it runnning, but a conversation with @SamPhillips at 14th RacketCon conv…

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

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