diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2017-02-20 00:05:28 -0800 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2017-02-20 00:05:28 -0800 |
commit | bd9733926076885e3417b74de76e4c9c7bc56254 (patch) | |
tree | 2c99dced547d48407ad44cb0e45e31bb4d02ce43 /struct.scm | |
parent | fa3f23105ddcf07c5900de47f19af43d1db1b597 (diff) | |
download | slib-bd9733926076885e3417b74de76e4c9c7bc56254.tar.gz slib-bd9733926076885e3417b74de76e4c9c7bc56254.zip |
Import Upstream version 2c7upstream/2c7
Diffstat (limited to 'struct.scm')
-rw-r--r-- | struct.scm | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -100,17 +100,17 @@ (map (lambda (field) (string->symbol - (string-append + (string-append "set-" name "-" (symbol->string field) "!"))) (cadr x)))) (k (car x) make-name name? field-accessors field-setters)))) (else (slib:error "define-record: invalid syntax" x))))) - + (define check-variant-case-syntax (let ((make-clause (lambda (clause) - (if (eq? (car clause) 'else) + (if (eq? (car clause) 'else) clause (let ((name (symbol->string (car clause)))) (let ((name? (string->symbol (string-append name "?"))) |