<div dir="ltr">Thanks, much appreciated.<div><br></div><div>s,</div><div><br></div></div><div class="gmail_extra"><br clear="all"><div><div dir="ltr">--<br><a href="http://www.degabrielle.name/stephen" target="_blank">Stephen De Gabrielle</a><div>
<br></div></div></div>
<br><br><div class="gmail_quote">On Mon, Sep 9, 2013 at 2:54 PM, Robby Findler <span dir="ltr"><<a href="mailto:robby@eecs.northwestern.edu" target="_blank">robby@eecs.northwestern.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">This is a case of confusing documentation. The signatures drracket:tool-exports^ and drracket:tool^ are exported by the drracket/tool library, not the drracket/tool-lib library. I've pushed some changes that should help going forward.<div>
<br></div><div>Just as a cautionary note, tho, the require line at the beginning of some manual or other does not mean that that require gets everything in the manual. It just means that's a particularly important or useful one. (Not sure if that's what you were going by here, tho, but just thought I'd mention that.)</div>
<div><br></div><div>Robby</div></div><div class="gmail_extra"><br><br><div class="gmail_quote"><div><div class="h5">On Mon, Sep 9, 2013 at 1:20 AM, Stephen De Gabrielle <span dir="ltr"><<a href="mailto:stephen.degabrielle@acm.org" target="_blank">stephen.degabrielle@acm.org</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr"><div>Hi, </div><div><br></div><div>'raco setup -l tool-name' fails for tools with only '(require drracket/too-lib)' fails with an unknown signature error[1]</div>
<div>
<br></div><div>Requiring 'drracket/tool' resolves the error, but this doesn't match the plugins documentation. (e.g. <a href="http://download.racket-lang.org/docs/5.3.6/html/tools/" target="_blank">http://download.racket-lang.org/docs/5.3.6/html/tools/</a> )</div>
<div><br></div><div>I don't know if this is a documentation error, a bug, or if I have just mis-read the documentation. I've included a sample of my code [2].</div><div><br></div><div>[1] unknown signature error<br>
</div><div>raco setup: --- summary of errors ---</div><div>raco setup: error: during making for <collects>/get-defns (get-defns)</div><div>raco setup: collects/get-defns/tool.rkt:13:12: unit: unknown signature</div>
<div>raco setup: at: drracket:tool^</div><div>raco setup: in: (unit (import drracket:tool^) (export drracket:tool-exports^) (define (phase1) (void)) (define (phase2) (void)) (define-local-member-name update-counts get-counts-txt) (define tab-mixin (mixin (drracket:unit:tab<%>) () (define txt (new text%)) (define/p...</div>
<div>raco setup: context...:</div><div>raco setup: /Applications/Racket v5.90.0.9/collects/racket/private/unit-compiletime.rkt:343:0: process-import/export</div><div>raco setup: /Applications/Racket v5.90.0.9/collects/racket/private/unit-compiletime.rkt:323:0: process-tagged-import/export</div>
<div>raco setup: /Applications/Racket v5.90.0.9/collects/racket/private/unit-utils.rkt:113:2</div><div><br></div><div><br></div><div>[2]example code</div><div><br></div><div><div>#lang racket/gui</div>
<div>(require drracket/tool </div><div> drracket/tool-lib</div><div> string-constants</div><div> framework)</div><div>(provide tool@)</div><div>(define tool@</div><div> (unit</div><div> (import drracket:tool^)</div>
<div> (export drracket:tool-exports^)</div><div> (define (phase1) (void))</div><div> (define (phase2) (void))</div><div> </div><div> (define-local-member-name update-counts get-counts-txt)</div></div><div>
<br>
</div>Kind regards, <div><br></div><div>Stephen<br clear="all"><div><div dir="ltr"><br></div><div dir="ltr">--<br><a href="http://www.degabrielle.name/stephen" target="_blank">Stephen De Gabrielle</a><div><br></div></div>
</div>
</div></div>
<br></div></div>____________________<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></div>
</blockquote></div><br></div>