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.
21 lines
272 B
Racket
21 lines
272 B
Racket
8 years ago
|
#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)
|