Skip to content

Tag Archives: PLT

Essentials of Garbage Collection

Another great PLT effort for the backlog: How do we teach students the essential ideas behind garbage collection?

Rebootable Programs in Racket

Here is how to do it courtesy of TonyG.

This is How Easy it is to Make Changes to DrRacket

DrRacket is open-source (LGPL) editor for Racket. Sometimes you want to make changes to it. For example today I wanted to enable online compilation on single-core machines. Here is how easy it is to do it: Assuming that DrRacket is already installed. This is a normal installation using the installer; you do not typically have [...]

DrRacket for the Truly Impatient V02

DrRacket is a wonderful editor. It is so feature rich that the first time you begin using it, you may end up missing out on how powerful and pleasant it is to use due to the multitude of options and features. The following is my attempt to share the most useful and interesting features and [...]

Portable Racket for Windows Users

Here it is. (via racket users)

Updated DrSync to Racket

Just posted the updated version of DrSync for Racket on PlaneT.

Okasaki’s Purely Functional Data Structures in Typed Racket

A library of purely functional data structures in Typed Racket. Data structures in the library are based on Chris Okasaki’s book Purely Functional Data Structures, work by Phil Bagwell and others (via racket)

Setting the background color in Slideshow

The OP asked how to set the background color in Slideshow as it is not obvious. Matthew replied: Locally, I’d superimpose a picture onto a color rectangle: #lang slideshow   (define (add-bg p color) (refocus (cc-superimpose (colorize (filled-rectangle (pict-width p) (pict-height p)) color) p) p))   (add-bg (bt "Hello") "green") To globally set the background, [...]

How to evaluate expressions and produce no output in Scribble

The OP asked: Is there a way to evaluate something in a given evaluator without having anything displayed in the output? Ie. I want to feed a couple of basic function definitions into the evaluator instance that I obtain with (make-base-eval). Matthew shared the solution: interaction-eval. (via plt)

Incremental definition and evaluation of examples in Scribble

The scribble/eval library provides utilities for evaluating code at document-build time and incorporating the results in the document, especially to show example uses of defined procedures and syntax. Here is an example where the OP was: trying to figure out a way to insert some text in between Scheme definitions: that is, have some definitions [...]