1 ;"structst.scm" test "struct.scm"
2 ;Copyright (C) 1993 Aubrey Jaffer
4 ;Permission to copy this software, to redistribute it, and to use it
5 ;for any purpose is granted, subject to the following restrictions and
8 ;1. Any copy made of this software must include this copyright notice
11 ;2. I have made no warrantee or representation that the operation of
12 ;this software will be error-free, and I am under no obligation to
13 ;provide any services, by way of maintenance, update, or otherwise.
15 ;3. In conjunction with products arising from the use of this
16 ;material, there shall be no use of my name in any advertising,
17 ;promotional, or sales literature without prior written consent in
22 (define-record foo (a b c))
23 (define-record goo (xx yy))
25 (define a-foo (make-foo 1 2 3))
26 (define a-goo (make-goo 4 5))
31 (foo (a b c) (list a b c))
32 (goo (xx yy) (list xx yy))
34 (write (append (t1 a-foo) (t1 a-goo) (t1 9)))