|
From: | Thomas Chust |
Subject: | Re: [Chicken-users] [ANN] SRFI-99 record types for CHICKEN |
Date: | Thu, 8 Sep 2011 08:31:02 +0200 |
Hello,
the ordering of syntax patterns in the definition of define-record-constructor is wrong, so the case with only a constructor name gets selected instead of that with an argument list :-/
I will fix this, of course.
Ciao,
Thomas
--
When C++ is your hammer, every problem looks like your thumb!
08.09.2011 07:47 schrieb am "John Cowan" <address@hidden>:
Thomas Chust scripsit:
Ah. I forgot to say I was talking about the syntactic module.
> that's strange, I can't reproduce the problem here, everything looks
> fine in this respect (note...
Try (make-record-type foo (make-foo a b) foo? (a foo-a) (b foo-b)),
and then invoke (make-foo 1 2).
Ah, I didn't know that worked. It's not part of SRFI-99, but it's a good
> You can always do that by explicitly specifying the uid, for example
> like this:
>
> (define-...
extension.
I agree.
> I'm not sure this warrants a specialized macro.
Sure.
> Sounds like a really good idea! The implementation will have to
> wait for a few days, though, wh...
--
I now introduce Professor Smullyan, John Cowan
who will prove to you that either address@hidden
he doesn't exist or you don't exist, http://www.ccil.org/~cowan
but you won't know which. --Melvin Fitting
[Prev in Thread] | Current Thread | [Next in Thread] |