mirror of
https://github.com/ashinn/chibi-scheme.git
synced 2025-07-14 08:27:34 +02:00
Order of arguments flipped for make-rtd.
This commit is contained in:
parent
0ad792a100
commit
5633b1dcf9
1 changed files with 1 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
||||||
|
|
||||||
(define (make-rtd name fields . o)
|
(define (make-rtd name fields . o)
|
||||||
(let ((parent (and (pair? o) (car o))))
|
(let ((parent (and (pair? o) (car o))))
|
||||||
(register-simple-type name (vector->list fields) parent)))
|
(register-simple-type name parent (vector->list fields))))
|
||||||
|
|
||||||
(define (rtd? x)
|
(define (rtd? x)
|
||||||
(type? x))
|
(type? x))
|
||||||
|
|
Loading…
Add table
Reference in a new issue