summaryrefslogtreecommitdiffstats
path: root/struct.scm
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2017-02-20 00:05:28 -0800
committerBryan Newbold <bnewbold@robocracy.org>2017-02-20 00:05:28 -0800
commitbd9733926076885e3417b74de76e4c9c7bc56254 (patch)
tree2c99dced547d48407ad44cb0e45e31bb4d02ce43 /struct.scm
parentfa3f23105ddcf07c5900de47f19af43d1db1b597 (diff)
downloadslib-bd9733926076885e3417b74de76e4c9c7bc56254.tar.gz
slib-bd9733926076885e3417b74de76e4c9c7bc56254.zip
Import Upstream version 2c7upstream/2c7
Diffstat (limited to 'struct.scm')
-rw-r--r--struct.scm6
1 files changed, 3 insertions, 3 deletions
diff --git a/struct.scm b/struct.scm
index 8c5c423..100d3ff 100644
--- a/struct.scm
+++ b/struct.scm
@@ -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 "?")))