Thomas Chust scripsit: > that's strange, I can't reproduce the problem here, everything looks > fine in this respect (note that rtd-constructor is *supposed* to > return a constructor procedure, not an instance, according to > specification):
Ah. I forgot to say I was talking about the syntactic module. Try (make-record-type foo (make-foo a b) foo? (a foo-a) (b foo-b)), and then invoke (make-foo 1 2). > You can always do that by explicitly specifying the uid, for example > like this: > > (define-record-type (foo #f #:uid 'foo) #t #t x y z) Ah, I didn't know that worked. It's not part of SRFI-99, but it's a good extension. > I'm not sure this warrants a specialized macro. I agree. > Sounds like a really good idea! The implementation will have to > wait for a few days, though, while I'm out of hacking mode and on a > bike tour :-) Sure. -- I now introduce Professor Smullyan, John Cowan who will prove to you that either [email protected] he doesn't exist or you don't exist, http://www.ccil.org/~cowan but you won't know which. --Melvin Fitting _______________________________________________ Chicken-users mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/chicken-users
