Created
September 29, 2017 20:12
-
-
Save LeifAndersen/05c46b068249b0d7312b635e993327b0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#lang scratch | |
(define a% | |
(let () | |
(define-local-member-name hello) | |
(class object% | |
(super-new) | |
(init-field hello)))) | |
(new a% [hello "world"]) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment