# Latest

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

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

**Page:** 69

---

## [Get redex traces result as picture?](https://racket.discourse.group/t/get-redex-traces-result-as-picture/458)

<div class="topic-metadata">

**Author:** [@dannypsnl](https://racket.discourse.group/u/dannypsnl)\
**Replies:** 8\
**Last updated:** [December 26, 2021, 1:22pm UTC](https://racket.discourse.group/t/get-redex-traces-result-as-picture/458 "2021-12-26T13:22:07Z")

</div>

traces function in redex given a nice GUI result, but what if I want to put it into scribble manual? How can I do that?

---

## [Reader module for reading multiple lines](https://racket.discourse.group/t/reader-module-for-reading-multiple-lines/476)

<div class="topic-metadata">

**Author:** [@damien\_mattei](https://racket.discourse.group/u/damien_mattei)\
**Replies:** 1\
**Last updated:** [December 25, 2021, 11:00pm UTC](https://racket.discourse.group/t/reader-module-for-reading-multiple-lines/476 "2021-12-25T23:00:49Z")

</div>

hello, i want to modify the reader (read file) to be able read difinitions , modify them to generate racket code and evaluate expressions . starting from this code: https://docs.racket-lang.org/guide/hash-lang\_reade…

---

## [Different sorts of little languages](https://racket.discourse.group/t/different-sorts-of-little-languages/467)

<div class="topic-metadata">

**Author:** [@spdegabrielle](https://racket.discourse.group/u/spdegabrielle)\
**Replies:** 4\
**Last updated:** [December 24, 2021, 10:29pm UTC](https://racket.discourse.group/t/different-sorts-of-little-languages/467 "2021-12-24T22:29:59Z")

</div>

I'm trying to get my head around languages in general and I've come across some jargon around DSL's that I'm not clear on. So I have questions and hopefully you have answers and perhaps examples? external DSL I think …

---

## [How to get link to library provided form](https://racket.discourse.group/t/how-to-get-link-to-library-provided-form/464)

<div class="topic-metadata">

**Author:** [@dannypsnl](https://racket.discourse.group/u/dannypsnl)\
**Replies:** 5\
**Last updated:** [December 24, 2021, 4:02pm UTC](https://racket.discourse.group/t/how-to-get-link-to-library-provided-form/464 "2021-12-24T16:02:03Z")

</div>

I always have a problem that if I write a docs.scrbl have #lang scribble/manual @require\[(for-label racket/base nanopass)\] @title{test} @racketblock\[ (require nanopass) (define-language L0 (term…

---

## [New Interactive Tutorial Format for Racket Libraries](https://racket.discourse.group/t/new-interactive-tutorial-format-for-racket-libraries/463)

<div class="topic-metadata">

**Author:** [@countvajhula](https://racket.discourse.group/u/countvajhula)\
**Replies:** 7\
**Last updated:** [December 23, 2021, 7:50pm UTC](https://racket.discourse.group/t/new-interactive-tutorial-format-for-racket-libraries/463 "2021-12-23T19:50:06Z")

</div>

Hi folks, I don't know about you, but I learn best in an interactive setting, where I'm engaged with the material I'm trying to learn, where there is a tight feedback loop that allows me to see right away whether my und…

---

## [Scribble/srcdoc's for-doc with submod issue](https://racket.discourse.group/t/scribble-srcdocs-for-doc-with-submod-issue/459)

<div class="topic-metadata">

**Author:** [@dominik.pantucek](https://racket.discourse.group/u/dominik.pantucek)\
**Replies:** 1\
**Last updated:** [December 23, 2021, 5:35pm UTC](https://racket.discourse.group/t/scribble-srcdocs-for-doc-with-submod-issue/459 "2021-12-23T17:35:33Z")

</div>

Using scribble/srcdoc with at-exp reader allows you to write module documentation within the provide form ensuring all the provided symbols are somehow (preferably properly) documented. In certain situations, you want to…

---

## [Example of a lang lexer that returns a non-zero backup distance?](https://racket.discourse.group/t/example-of-a-lang-lexer-that-returns-a-non-zero-backup-distance/437)

<div class="topic-metadata">

**Author:** [@greghendershott](https://racket.discourse.group/u/greghendershott)\
**Replies:** 6\
**Last updated:** [December 23, 2021, 5:06pm UTC](https://racket.discourse.group/t/example-of-a-lang-lexer-that-returns-a-non-zero-backup-distance/437 "2021-12-23T17:06:56Z")

</div>

A lang's module lexer can return a backup distance. I would like to test my handling of that. But so far (with e.g. langs racket, rhombus, and scribble/manual) I'm always seeing a backup distance of zero. What's an ex…

---

## [Type Checker: Inference for polymorphic keyword functions not supported](https://racket.discourse.group/t/type-checker-inference-for-polymorphic-keyword-functions-not-supported/145)

<div class="topic-metadata">

**Author:** [@scolobb](https://racket.discourse.group/u/scolobb)\
**Replies:** 6\
**Last updated:** [December 21, 2021, 1:20pm UTC](https://racket.discourse.group/t/type-checker-inference-for-polymorphic-keyword-functions-not-supported/145 "2021-12-21T13:20:40Z")

</div>

Hi, I want to do a union of two hash tables mapping symbols to numbers, summing up the values for duplicate keys. Here's what I write: #lang typed/racket (require racket/hash) (define h1 : (Immutable-HashTable Symbo…

---

## [Racket Wiki Artifacts & call for contributors](https://racket.discourse.group/t/racket-wiki-artifacts-call-for-contributors/460)

<div class="topic-metadata">

**Author:** [@spdegabrielle](https://racket.discourse.group/u/spdegabrielle)\
**Replies:** 0\
**Last updated:** [December 21, 2021, 1:00pm UTC](https://racket.discourse.group/t/racket-wiki-artifacts-call-for-contributors/460 "2021-12-21T13:00:47Z")

</div>

This page captures useful code snippets that are too small to be a package. There is also an GitHub organisation for larger examples Artifacts · GitHub Please contribute your own!

---

## [Simpler cross-compiling for multiple platforms](https://racket.discourse.group/t/simpler-cross-compiling-for-multiple-platforms/456)

<div class="topic-metadata">

**Author:** [@sschwarzer](https://racket.discourse.group/u/sschwarzer)\
**Replies:** 3\
**Last updated:** [December 20, 2021, 9:47pm UTC](https://racket.discourse.group/t/simpler-cross-compiling-for-multiple-platforms/456 "2021-12-20T21:47:36Z")

</div>

For a project of mine I use the following Makefile code to create binaries for different platforms: VERSION=$(shell cat VERSION) TARGET ?= x86\_64-linux NICE\_TARGET ?= ${TARGET} VM ?= cs # Both options are allowed for P…

---

## [Discussion of deletion and site archiving](https://racket.discourse.group/t/discussion-of-deletion-and-site-archiving/396)

<div class="topic-metadata">

**Author:** [@jbclements](https://racket.discourse.group/u/jbclements)\
**Replies:** 18\
**Last updated:** [December 20, 2021, 7:23pm UTC](https://racket.discourse.group/t/discussion-of-deletion-and-site-archiving/396 "2021-12-20T19:23:20Z")

</div>

Didn’t feel like following directions, eh? EDIT: this has now become a discussion about deletion and site policy....

---

## [Advent of Code 2021 Racket leaderboard](https://racket.discourse.group/t/advent-of-code-2021-racket-leaderboard/118)

<div class="topic-metadata">

**Author:** [@spdegabrielle](https://racket.discourse.group/u/spdegabrielle)\
**Replies:** 5\
**Last updated:** [December 20, 2021, 12:53pm UTC](https://racket.discourse.group/t/advent-of-code-2021-racket-leaderboard/118 "2021-12-20T12:53:11Z")

</div>

2021-12-01T05:00:00Z (UTC) The Advent of Code usually attracts quite a few people. https://adventofcode.com/ If you want to join in the Racket leaderboard key is: 22197-a7a01707. https://adventofcode.com/2021/leaderb…

---

## [Trimming tables of contents in #lang scribble/manual](https://racket.discourse.group/t/trimming-tables-of-contents-in-lang-scribble-manual/450)

<div class="topic-metadata">

**Author:** [@plragde](https://racket.discourse.group/u/plragde)\
**Replies:** 2\
**Last updated:** [December 20, 2021, 3:49am UTC](https://racket.discourse.group/t/trimming-tables-of-contents-in-lang-scribble-manual/450 "2021-12-20T03:49:18Z")

</div>

I have a Scribble document whose top-level file uses #:style '(toc multipage), followed by several applications of @include-section. On one of the subpages rendered separately, I have many instances of @section, @subsect…

---

## [New to discourse](https://racket.discourse.group/t/new-to-discourse/449)

<div class="topic-metadata">

**Author:** [@joskoot](https://racket.discourse.group/u/joskoot)\
**Replies:** 0\
**Last updated:** [December 20, 2021, 12:56am UTC](https://racket.discourse.group/t/new-to-discourse/449 "2021-12-20T00:56:09Z")

</div>

Hello. I just assigned in to the discourse. My first topic just to see how it works and that I have my preferences set well. Thanks, Great.

---

## [\[Face made with \`plot\`\]](https://racket.discourse.group/t/face-made-with-plot/447)

<div class="topic-metadata">

**Author:** [@spdegabrielle](https://racket.discourse.group/u/spdegabrielle)\
**Replies:** 0\
**Last updated:** [December 19, 2021, 11:31pm UTC](https://racket.discourse.group/t/face-made-with-plot/447 "2021-12-19T23:31:31Z")

</div>

by Bert

---

## [Typed Racket: the good and the bad](https://racket.discourse.group/t/typed-racket-the-good-and-the-bad/446)

<div class="topic-metadata">

**Author:** [@micahcantor](https://racket.discourse.group/u/micahcantor)\
**Replies:** 2\
**Last updated:** [December 19, 2021, 10:42pm UTC](https://racket.discourse.group/t/typed-racket-the-good-and-the-bad/446 "2021-12-19T22:42:39Z")

</div>

Hi all, I wrote about thoughts I had about using Typed Racket to implement Lox from Crafting Interpreters. Here's a link to the post.

---

## [\[Racket logo as a school of fish\]](https://racket.discourse.group/t/racket-logo-as-a-school-of-fish/436)

<div class="topic-metadata">

**Author:** [@spdegabrielle](https://racket.discourse.group/u/spdegabrielle)\
**Replies:** 0\
**Last updated:** [December 17, 2021, 2:33pm UTC](https://racket.discourse.group/t/racket-logo-as-a-school-of-fish/436 "2021-12-17T14:33:37Z")

</div>

image credit: @ryanc

---

## [Contract translation for use in an external system](https://racket.discourse.group/t/contract-translation-for-use-in-an-external-system/444)

<div class="topic-metadata">

**Author:** [@rscho](https://racket.discourse.group/u/rscho)\
**Replies:** 0\
**Last updated:** [December 19, 2021, 3:22pm UTC](https://racket.discourse.group/t/contract-translation-for-use-in-an-external-system/444 "2021-12-19T15:22:01Z")

</div>

Hi, I'd like to mirror Racket contracts on the SQLite side for a proof-of-concept dataframe library. Any type can be inserted in any column in SQLite, although types can optionally be enforced at runtime through trigger…

---

## [\[baseball-cap with \`standard-fish\`\]](https://racket.discourse.group/t/baseball-cap-with-standard-fish/443)

<div class="topic-metadata">

**Author:** [@spdegabrielle](https://racket.discourse.group/u/spdegabrielle)\
**Replies:** 1\
**Last updated:** [December 19, 2021, 3:21pm UTC](https://racket.discourse.group/t/baseball-cap-with-standard-fish/443 "2021-12-19T15:21:22Z")

</div>

Made with Racket by @JustinZed

---

## [How to conditional \`require\`](https://racket.discourse.group/t/how-to-conditional-require/435)

<div class="topic-metadata">

**Author:** [@dannypsnl](https://racket.discourse.group/u/dannypsnl)\
**Replies:** 3\
**Last updated:** [December 19, 2021, 2:45pm UTC](https://racket.discourse.group/t/how-to-conditional-require/435 "2021-12-19T14:45:22Z")

</div>

The purpose is I want to build a set of low-level LLVM bindings like llvm 12 llvm 13 llvm 14 And provides a high-level package to choose them dynamically(by detecting LLVM version on the system), does that possible wi…

---

## [Privacy Policy update! Personal messages](https://racket.discourse.group/t/privacy-policy-update-personal-messages/441)

<div class="topic-metadata">

**Author:** [@spdegabrielle](https://racket.discourse.group/u/spdegabrielle)\
**Replies:** 0\
**Last updated:** [December 18, 2021, 4:22pm UTC](https://racket.discourse.group/t/privacy-policy-update-personal-messages/441 "2021-12-18T16:22:30Z")

</div>

Hi We just learned… Personal messages are available to senders and their recipients, forum administrators, and are part of all backups. In hindsight I suppose this is obvious but it seems appropriate to state it in …

---

## [Rhombus meeting today](https://racket.discourse.group/t/rhombus-meeting-today/432)

<div class="topic-metadata">

**Author:** [@notjack](https://racket.discourse.group/u/notjack)\
**Replies:** 1\
**Last updated:** [December 17, 2021, 2:56am UTC](https://racket.discourse.group/t/rhombus-meeting-today/432 "2021-12-17T02:56:40Z")

</div>

We're talking about equality operations, how they'll relate to collections, and fancy-app. Agenda: https://github.com/racket/rhombus-prototype/discussions/180#discussioncomment-1814253 Zoom link: https://utah.zoom.us/j…

---

## [Announcing uni-table - a Unicode text table renderer with ECMA-48 SGR support](https://racket.discourse.group/t/announcing-uni-table-a-unicode-text-table-renderer-with-ecma-48-sgr-support/278)

<div class="topic-metadata">

**Author:** [@dominik.pantucek](https://racket.discourse.group/u/dominik.pantucek)\
**Replies:** 21\
**Last updated:** [December 16, 2021, 9:08am UTC](https://racket.discourse.group/t/announcing-uni-table-a-unicode-text-table-renderer-with-ecma-48-sgr-support/278 "2021-12-16T09:08:06Z")

</div>

IT SLICES! IT DICES! It causes a 100,000 light year-diameter quantum explosion! Based on one innocuous remark\[1\] and a Sunday evening package popularity poll results\[2\], I finally decided to put together various bits…

---

## [Making my function more elegant](https://racket.discourse.group/t/making-my-function-more-elegant/417)

<div class="topic-metadata">

**Author:** [@robertpostill](https://racket.discourse.group/u/robertpostill)\
**Replies:** 10\
**Last updated:** [December 16, 2021, 7:06am UTC](https://racket.discourse.group/t/making-my-function-more-elegant/417 "2021-12-16T07:06:25Z")

</div>

I'm making a function that calculates whether or not a number is valid. Specifically whether or not an Australian Tax File Number (TFN) is valid (see Clearwater Software for an explanation of what's happening). Now the…

---

## [Anyone knows how to insert a line graph in a pollen document?](https://racket.discourse.group/t/anyone-knows-how-to-insert-a-line-graph-in-a-pollen-document/419)

<div class="topic-metadata">

**Author:** [@agarzia](https://racket.discourse.group/u/agarzia)\
**Replies:** 2\
**Last updated:** [December 15, 2021, 7:59pm UTC](https://racket.discourse.group/t/anyone-knows-how-to-insert-a-line-graph-in-a-pollen-document/419 "2021-12-15T19:59:29Z")

</div>

I use Pollen to make my website. I'm now trying to create more complex documents that require me to add some line graphs. I know that one can insert runtime generated images inside scribble documents but I haven't seen a…

---

## [How to compare \`hash\` correctly](https://racket.discourse.group/t/how-to-compare-hash-correctly/412)

<div class="topic-metadata">

**Author:** [@dannypsnl](https://racket.discourse.group/u/dannypsnl)\
**Replies:** 7\
**Last updated:** [December 14, 2021, 10:46pm UTC](https://racket.discourse.group/t/how-to-compare-hash-correctly/412 "2021-12-14T22:46:06Z")

</div>

I'm trying to generate yaml from Racket, once it has been done, I want to check it has the same value as the original reference yaml. (require yaml) (define origin (file-\>yaml "origin.yml")) (define new ...) (equal? ne…

---

## [How can I set environment variables in racket-mode?](https://racket.discourse.group/t/how-can-i-set-environment-variables-in-racket-mode/406)

<div class="topic-metadata">

**Author:** [@dstorrs](https://racket.discourse.group/u/dstorrs)\
**Replies:** 7\
**Last updated:** [December 13, 2021, 7:07pm UTC](https://racket.discourse.group/t/how-can-i-set-environment-variables-in-racket-mode/406 "2021-12-13T19:07:03Z")

</div>

I'd like to have the racket-mode repl show logging. I've browsed through the docs and don't see anything like that...can anyone offer a pointer?

---

## [Racket video meetup 8 Jan 2022](https://racket.discourse.group/t/racket-video-meetup-8-jan-2022/421)

<div class="topic-metadata">

**Author:** [@spdegabrielle](https://racket.discourse.group/u/spdegabrielle)\
**Replies:** 0\
**Last updated:** [December 13, 2021, 6:23pm UTC](https://racket.discourse.group/t/racket-video-meetup-8-jan-2022/421 "2021-12-13T18:23:13Z")

</div>

2022-01-08T18:00:00Z (UTC) https://gather.town/app/wH1EDG3McffLjrs0/racket-users

---

## [How to add new escape sequence?](https://racket.discourse.group/t/how-to-add-new-escape-sequence/418)

<div class="topic-metadata">

**Author:** [@dannypsnl](https://racket.discourse.group/u/dannypsnl)\
**Replies:** 2\
**Last updated:** [December 13, 2021, 1:07pm UTC](https://racket.discourse.group/t/how-to-add-new-escape-sequence/418 "2021-12-13T13:07:36Z")

</div>

If we read a string like "\\()", we will get read: unknown escape sequence \`\\(\` in string can we change this behavior?

---

## [Flagged as spam?](https://racket.discourse.group/t/flagged-as-spam/409)

<div class="topic-metadata">

**Author:** [@sorawee](https://racket.discourse.group/u/sorawee)\
**Replies:** 5\
**Last updated:** [December 12, 2021, 1:02pm UTC](https://racket.discourse.group/t/flagged-as-spam/409 "2021-12-12T13:02:40Z")

</div>

A couple of days ago, three of my four posts (at the time) were flagged as spams, long after I posted them. Here's an example of notifications that I got. Later, the posts were unflagged. Naturally, I was quite c…

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

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