diff options
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 "?"))) |