You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
beautiful-racket/beautiful-racket-lib/br/syntax-scopes-test-3.rkt

21 lines
272 B
Racket

#lang br
(require "subscope.rkt")
(introduce-scope blue)
(introduce-scope red)
#;(introduce-scope purple (red blue))
(define #'(double-x)
(with-blue-identifiers (x)
#'(+ x x)))
(define:blue x 50)
x:blue
(define:red x 42)
x:red
(double-x)