[racket-dev] Release Announcement for v5.0.1 -- final version
I don't know anything about signatures, since they're not documented
or advertised.
I don't know why it isn't included... I thought the patch was cherry
picked. I didn't test it in the release because I added the tests for
the feature to tests/racket/advanced.rktl
Jay
On Mon, Aug 2, 2010 at 1:49 AM, Michael Sperber <sperber at deinprogramm.de> wrote:
>
> Eli Barzilay <eli at barzilay.org> writes:
>
>> I don't know of any plan for signatures, but if it would be bad to
>> advertise it if it's not included... Jay/Ryan--??
>
> Signatures are already in there (look in the log in collects/lang) -
> they're just not documented yet. They already give you this, for
> example:
>
> (define-struct foo (a b))
> (define-struct bar (c d))
> (define foo-or-bar
> (signature (mixed foo bar)))
>
> At the very least, `define-datatype' should also define a signature.
>
> --
> Cheers =8-} Mike
> Friede, Völkerverständigung und überhaupt blabla
>
--
Jay McCarthy <jay at cs.byu.edu>
Assistant Professor / Brigham Young University
http://teammccarthy.org/jay
"The glory of God is Intelligence" - D&C 93