<div class="gmail_extra">+1 </div><div class="gmail_extra">I like.</div><div class="gmail_extra">Stephen</div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Apr 27, 2012 at 4:23 PM, Laurent <span dir="ltr"><<a href="mailto:laurent.orseau@gmail.com" target="_blank">laurent.orseau@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br><br>Here is a script that displays on-screen the signatures of functions and forms for most of the usual libraries (see screenshots).<br>
This avoids the cost to launch the whole documentation in an external browser when all you want is the order of the arguments or their contracts.<br>
<br>Hopefully it can help some people like me that always need to refer to the docs, even for common functions.<br>I only tested on my linux desktop so I'm interested in knowing if that works correctly on other platforms too.<br>
<br><br>The script itself is here:<br><a href="http://planet.plt-scheme.org/package-source/orseau/script-plugin.plt/2/7/examples/def-signatures.rkt" target="_blank">http://planet.plt-scheme.org/package-source/orseau/script-plugin.plt/2/7/examples/def-signatures.rkt</a><br>
<br>and you can partially test it as a standalone module (see the Test section at the end of the file), but it is in fact a part of the script plugin, <br>with which a shortcut can be assigned to it (otherwise there is little point in this script).<br>
To download:<br>(require (planet orseau/script-plugin:2:7/tool))<br>then restart DrRacket.<span class="HOEnZb"><font color="#888888"><br><br><br>Laurent<br>
</font></span><br>____________________<br>
Racket Users list:<br>
<a href="http://lists.racket-lang.org/users" target="_blank">http://lists.racket-lang.org/users</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div> </div><div>--</div><div>Stephen De Gabrielle</div><div><a href="mailto:stephen.degabrielle@acm.org" target="_blank">stephen.degabrielle@acm.org</a></div>
<div>Telephone +44 (0)20 85670911</div><div>Mobile +44 (0)79 85189045</div><div><a href="http://www.degabrielle.name/stephen" target="_blank">http://www.degabrielle.name/stephen</a></div><div>----</div><div>Professor: Oh God! I clicked without reading! </div>
<div>Cubert: And I slightly modified something I own! </div><div>Professor: We're monsters!</div><br>
</div>