racket/collects/tests/honu/struct.honu
2011-08-12 15:16:39 -06:00

8 lines
120 B
Plaintext

#lang honu
// structure foo (bar) {a, b, c};
structure foo {a, b, c};
var x = foo(1, 2, 3);
printf("x.a: ~a\n", x.a);