Signatures are documented but in German. It is on my list to 'translate' this for the next release. -- Matthias
On Aug 2, 2010, at 5:57 AM, Jay McCarthy wrote: > 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 <sper...@deinprogramm.de> > wrote: >> >> Eli Barzilay <e...@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 <j...@cs.byu.edu> > Assistant Professor / Brigham Young University > http://teammccarthy.org/jay > > "The glory of God is Intelligence" - D&C 93 > _________________________________________________ > For list-related administrative tasks: > http://lists.racket-lang.org/listinfo/dev _________________________________________________ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/dev