[racket-dev] self-documenting feature

2010-07-19 Thread Shriram Krishnamurthi
Python apparently has a feature where you essentially put the contract/purpose in the text of a function, and when you type the function's name, it prints out that documentation. (It sounds like the docstrings of Common Lisp.) This came up on day 1, minute 15 of the TSRJ workshop.

Re: [racket-dev] self-documenting feature

2010-07-19 Thread Robby Findler
Sure, but if we have the manpower/energy for this, then it would be nice to have, no? (We'd probably do something syntactically and not via runtime values, but the essential idea seems like it would carry over.) Robby On Mon, Jul 19, 2010 at 11:05 AM, Matthias Felleisen matth...@ccs.neu.edu

[racket-dev] srfi41 for racket

2010-07-19 Thread Jos Koot
Is it a good idea to adapt PLT-Scheme implementation of srfi41 to Racket? In principle, this is trivial. However, when I adapted srfi41 for PLT-Scheme, Eli Barzilay advised me not to double the code for promises. I did not follow his advice. I now intend to follow his advice. This has

Re: [racket-dev] self-documenting feature

2010-07-19 Thread Shriram Krishnamurthi
Do ask the person who asked whether Python has coverage now. -- Matthias Aspirin vs vitamins. Shriram _ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/dev

Re: [racket-dev] self-documenting feature

2010-07-19 Thread Guillaume Marceau
During There is good support from the interviews for having dynamic documentation in DrRacket would help quite a bit. Two out of the four students I interview requested the feature. Here are some relevant inteview excepts. Student #1: Maybe a tiny example, or something, that follows the

[racket-dev] Windows test bundle 29M vs. 47M for other platforms?

2010-07-19 Thread John Clements
On this page http://pre.racket-lang.org/release/installers/ the reported size of the Windows installer is 29M, vs. about 47 or 48 M for other platforms. I see that this was true of the 5.0 release as well, so this is probably expected, but I'm curious: why is this? Is it just that the other

Re: [racket-dev] self-documenting feature

2010-07-19 Thread Matthias Felleisen
And which is which :-) On Jul 19, 2010, at 1:24 PM, Shriram Krishnamurthi wrote: Do ask the person who asked whether Python has coverage now. -- Matthias Aspirin vs vitamins. Shriram _ For list-related administrative tasks:

Re: [racket-dev] self-documenting feature

2010-07-19 Thread Matthias Felleisen
That's totally different from what Shriram described. On Jul 19, 2010, at 1:53 PM, Guillaume Marceau wrote: During There is good support from the interviews for having dynamic documentation in DrRacket would help quite a bit. Two out of the four students I interview requested the feature.

Re: [racket-dev] Pre-Release Checklist for v5.0.1

2010-07-19 Thread Robby Findler
On Mon, Jul 19, 2010 at 9:47 AM, Ryan Culpepper ry...@ccs.neu.edu wrote: * Robby Findler ro...@eecs.northwestern.edu  - DrRacket Tests These discovered a bug. So, not yet done, I guess.  - Framework Tests  - Contracts Tests  - Games Tests  - Teachpacks Tests: image tests  - PLaneT Tests

Re: [racket-dev] self-documenting feature

2010-07-19 Thread Nadeem Abdul Hamid
Do ask the person who asked whether Python has coverage now. -- Matthias Maybe not packaged for beginners, but it is doable... http://pypi.python.org/pypi/coverage/2.85 http://nedbatchelder.com/code/coverage/ _ For list-related

Re: [racket-dev] self-documenting feature

2010-07-19 Thread Nadeem Abdul Hamid
Yes, but Racket docstrings aren't even there at all (yet :))... On Jul 19, 2010, at 4:58 PM, Matthias Felleisen wrote: That's the question. Packaged for beginners; always there, never to ask for. On Jul 19, 2010, at 4:55 PM, Nadeem Abdul Hamid wrote: Do ask the person who asked

Re: [racket-dev] self-documenting feature

2010-07-19 Thread Shriram Krishnamurthi
This is a pointless exchange that misses the reason for its initiation. Attendee: Here's a nice feature that I find awfully useful. How do I get it in DrRacket? Us: Oh yeah? And can your beloved language do X? Shriram On Mon, Jul 19, 2010 at 4:58 PM, Matthias Felleisen matth...@ccs.neu.edu

Re: [racket-dev] python docstrings

2010-07-19 Thread Eli Barzilay
On Jul 19, John Clements wrote: [...] a python-like feature [...] I wasn't familiar with Python's docstrings, so I checked them out. [...] On Jul 19, Shriram Krishnamurthi wrote: Python apparently has a feature [...] (I was actually relieved when Matthias properly tied this back to Lisp