You can also use make-element-id-transformer, like this:
(define-syntax SET
(make-element-id-transformer
(lambda _ #'(racketvarfont "set"
Then Scribble will automatically replace SET within rendered code with the
element expression above.
Another trick is to break the
My favorite way to avoid this problem is simply to choose another name, or
use `except-in` to avoid importing `set` for-label. But if you must use the
name `set` and you want it linking to racket/set most of the time (but not
this time), here is a technique I've used in the past:
#lang
2 matches
Mail list logo